Vic Webster wrote:
I'm learning as I'm doing this, so I've probably already made mistakes (well
definitely, since mod_rewrite doesn't work). If someone can point out where I'm
going wrong I'd appreciate it.
I can only find Linux guides on the web to enable mod_rewrite and they say something
about uncommenting a line similar to "AddModule mod_rewrite.c". There is no
such line in my httpd.conf file. In fact, the line (below) refering to mod_rewrite.so was
supposedly meant to be uncommented too, but I couldn't find it anywhere so I just added
it in.
Any help appreciated.
I've added these lines into httpd.conf in order to get php5 working (and it
does):
# PHP Configuration for Apache
LoadModule php5_module /usr/apache2/2.2/libexec/mod_php5.so
LoadModule rewrite_module /usr/apache2/2.2/libexec/mod_rewrite.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
DirectoryIndex index.php
Hey Vic,
Take a look at:
/etc/apache2/2.2/conf.d
I don't add too much to httpd.conf .. instead I reference other specific
files via an Include (which the httpd.conf on the version I mentioned)
does like so i.e.:
<IfDefine 64bit>
Include /etc/apache2/2.2/conf.d/modules-64.load
</IfDefine>
--
Cheers,
Steven Acres
Toronto OpenSolaris User Group <TOROSUG>
Leader http://opensolaris.org/os/project/torosug
_______________________________________________
opensolaris-help mailing list
[email protected]