I am the newbie to Drupal. I am planning to set up Drupal for my multiple sites. But it cannot be successfully created.
Domain:
abc.homeip.net
Server:
QNAP TS-119 Turbo
File Structure in Drupal:
/Sites/abc.homeip.net.123
/Sites/abc.homeip.net.456
=====================
There are .conf for my NAS.
Shwon as below.
=====================
ServerName abc.homeip.net
ServerAlias abc.homeip.net, abc.homeip.net/123, abc.homeip.net/456
DocumentRoot "/share/Qweb/abc/"
RewriteEngine On
RewriteOptions inherit
Options FollowSymLinks MultiViews
Order allow,deny
Allow from all
=====================
the code in .htaccess in drupal
=====================
# RewriteBase/
# Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^/123/(.*)$
RewriteRule ^(.*)$ /123/index.php?q=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^/456/(.*)$
RewriteRule ^(.*)$ /456/index.php?q=$1 [L,QSA]









