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
Any help would be much appreciated. Also, on the subject, has anyone got any reccomendations for PHP books for beginners?
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]