|
Posted by Frel on 09/10/06 08:23
On Sat, 09 Sep 2006 14:21:51 -0700, Joshie Surber wrote:
> Open your /etc/httpd/httpd.conf, grep for php, and uncomment the lines
> LoadModule and AddModule for PHP.
All LoadModule entries were already uncommented. No "AddModule" for PHP
found.
It sounds like this should fix it.
> Also, make sure you are using http://localhost and not file://localhost
> -- file:// URLs are not parsed.
This brings up what is in in var/www which I don't have a problem with.
> Frel wrote:
>> I had a look at the stantonfinley fedora core 5 instructions and
>> robooted but to no avail.
>> PHP scripts work fine from var/www/html whether the suffix is .php or
>> .htm but not from localhost.
>>
>> I did what is suggested from this point and rebooted but no bloody
>> luck. If someone could throw an clue this way it'd be appreciated and
>> thanked in advance.
>>
>> http://www.stanton-finley.net/fedora_core_5_installation_notes.html
>>
>> <quote>
>> If you wish to enable support to serve web pages from user's home
>> directories as well comment (add a "#" in front of) "UserDir disable"
>> so that it reads "#UserDir disable" and uncomment "#UserDir
>> public_html" so that it reads "UserDir public_html". Then uncomment and
>> edit the control access stanza for user directories below it so that it
>> looks something like this: <Directory /home/*/public_html>
>> AllowOverride Options FileInfo AuthConfig Limit Options Indexes
>> Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
>> <Limit GET POST OPTIONS>
>> Order allow,deny
>> Allow from all
>> </Limit>
>> <LimitExcept GET POST OPTIONS>
>> Order deny,allow
>> Allow from all
>> </LimitExcept>
>> </Directory>
>>
>>
>> [..]
Navigation:
[Reply to this message]
|