[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sheflug] Apache, shtml and php config. problem
Howdy - Long-time no speak!
I've been away from Linux for a while, but now I'm having a determined
effort to get to grips (Again!) :-)
I've set-up Ubuntu (very nice :-), and got apache running - and that's
no mean feat, for me.
Currently, it's serving html nicely, and after some fiddling, I've got
it to recognise index.shtml as a valid 'default' page (I edited
httpd.conf and added:
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.php
</IfModule>
I've got a feeling this isn't the 'approved' method, but it worked!
However, the server isn't actually parsing/obeying the shtml files,
despite my adding:
AddType text/html .shtml
AddHandler server-parsed .shtml .html .htm .inc
to the httpd.conf file, and also in a .htaccess file in the same
folder as the index.shtml file.
As if that's not enough of a problem, PHP files aren't being processed
either, they're being offered to me as downloads!
For what it's worth, the server version is 2.0.55, running on Ubuntu
6.06
Any pointers/suggestions/instructions gratefully accepted! Words of
one syllable for this member of the 'point-and-click' school of
computing :-)
btw the web-server isn't 'public facing' - i.e. it's only on my own
local network.
--
Ruth Gunstone
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.