Newbie Error, migrating site & anything other than default controller won't fire |
[eluser]Guiseppi[/eluser]
[quote author="micflan" date="1302810918"]And are you absolutely sure the htaccess is working in that directory? Is this the default apache site or a virtual host? (I'm thinking you might have AllowOverride None set on the virtual host?) You could test the htaccess by creating a file in the root called newfile.php, adding this to .htaccess: Code: RewriteRule ^oldfile$ /newfile.php [NC,L] And try to access http://yoursite/oldfile[/quote] I've only altered DocumentRoot in /etc/apache2/httpd.conf to point to my /migrated site. Here are my current AllowOverride settings for httpd.conf: Code: # forbid access to the entire filesystem by default permissions on .htaccess are 644 I tried both: Code: RewriteRule ^oldfile$ /newfile.php [NC,L] Code: RewriteRule ^oldfile.php$ /newfile.php [NC,L] http://yoursite/oldfile & http://yoursite/oldfile.php Nothing worked, seems as though .htaccess isn't grabbing, it appears I'm overlooking something obvious to the seasoned user? |
Welcome Guest, Not a member yet? Register Sign In |