Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: .htaccess help
06-09-2011, 06:06 PM #1
- Join Date
- Jun 2011
- Thanked 0 Times in 0 Posts
I've recently set up a website which consists of a PHP script so far. Problem is, I'm trying to add other PHP and Perl scripts but they come up with 404 error. I've managed to narrow the problem down to the .htaccess in the PUBLIC_HTML folder which is required for the original PHP script. If I delete it, other scripts work, but not the first PHP.
I'm a novice when it comes to PHP and .htaccess files, otherwise I think it should be fairly simple to fix. I did some reading earlier and thought that the ALLOWOVERRIDE option may fix it, but this stops the original script from working also. The .htaccess file contains
<IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L] </IfModule> Rewritebase /