Re: Weird problem with SSL

From: Date: Tue, 01 Aug 2000 09:13:01 +0000
Subject: Re: Weird problem with SSL
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-9390@lists.php.net to get a copy of this message
Ade, > The reason I ask is that if I go to: > https://directmail.co.uk > I get an error of: > Forbidden > You don't have permission to access / on this server. This is because the user that is running the webserver dose not have read permission to access the directory in which the document root of directmail is held. > If I go to: > https://directmail.co.uk/index.php3 > Then I get a bit of PHP code displayed: > <?php > $HTTP_GET_VARS[id]=1; > [code snip]> > ?> The httpd.conf (assuming apache) needs to be configured to tell the webserver what to do with files with an extension of .php > and if I go to: > https://directmail.co.uk/information.html > which is a 'normal' html file it works fine The file is called be name, which means the user that is running the webserver has execute permissions on the directory in which the document root of directmail is held. It works find because the file extension is .html which dose not have to be explicitly handled. Hope this helps, David.

« previous php.general (#9390) next »