Thread: subdomain help
View Single Post
  #4 (permalink)  
Old 12-08-2006, 10:27 PM
paul nnx paul nnx is offline
Junior Member
 
Join Date: Nov 2006
Posts: 8
Default

well, finally i understand the problem. my domain has esyndicat script installed and the .htaccess of it produce problems for all sub domains. the solution is get a .htaccess inside each subdomain folder with this code inside

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

ErrorDocument 500 /dir/500.htm
ErrorDocument 404 /dir/404.htm
ErrorDocument 403 /dir/403.htm
ErrorDocument 401 /dir/401.htm


the only thing to change in this code is your index page in case itīs not index.php named.
after made this my sub domain started to work normally. found this solution at esyndicat forum.
anyway thanks arthur for allways give fast help.
Reply With Quote