> There are some php3 directives that don't work in .htaccess files. Did
> the AddType command work in httpd.conf?
The AddType directives do work in httpd.conf, but the php3_* ones
don't seem to. ie when I stick a php3_ directive in httpd.conf I get:
"Invalid command 'php3_mysql.default_host', perhaps mis-spelled or
defined by a module not included in the server configuration"
The fact that the "AddType application/x-httpd-php3 .html" in my
.htaccess file does nothing suggests that the .htaccess file is not
being looked at by Apache though, doesn't it?
The main reason I went to get this stuff working on my machine is that
I presume web hosts don't allow you to configure stuff in their
http.confs, but get you to modify your htaccess files instead. So
getting htaccess working loacally will give me a better idea of what I
can do remotely.
Matthew Sammon |
Yr3 CompSci TCD |
sammonm at tcd.ie |
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!