RE: [PHP] forbidden error on apache running on win98

From: Date: Wed, 17 Oct 2001 08:07:44 +0000
Subject: RE: [PHP] forbidden error on apache running on win98
Groups: php.general 
Request: Send a blank email to php-general+get-71310@lists.php.net to get a copy of this message
I had this and Apache.com won't admit it but it's kind of a bug (the PHP.net guys helped me out on it). you can't have a directory called php if you have a ScriptAlias called php aswell. Rename the subdir to something that isn't the same as a ScriptAlias and I reckon all will be well :-) HTH Dave -----Original Message----- From: ramajogi malla [mailto:ramajogi@rediffmail.com] Sent: 17 October 2001 09:14 To: php-general@lists.php.net Subject: [PHP] forbidden error on apache running on win98 configured php4.06 to work on apache1.3 running on windows98. created asub folder named php in the htdocs folder of apache. 1)created test.php with the code <html> <?php phpinfo();?> </html> when i give the following URL in internetexplorer5.0 http://localhost/php/test.php it is giving following error: --------------------------------------- The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable -------------------------------------------------------- 2)Then copied index.html from htdocs folder of apache and given the following URL in the browser http://localhost/php/ then the following error is displayed -------------------------------------------------------- Forbidden You don't have permission to access /php/ on this server. ------------------------------------------------------ 3)running php.exe from the php home dirctory is displaying screenfull of html code please let me know what is wrong. thanks inadvance ramajogi ---------------------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#71310) next »