markus
Verified User
anima, check your phpinfo. There's a section related to Apache settings where you should see all apache "Loaded Modules".
You could also check your /etc/httpd/conf/httpd.conf file. You should see the following lines:
AFAIK, mod_rewrite does NOT come with default apache installation. Check your configure.apache_ssl (under directadmin/customapache). You should have enabled mod_rewrite. You can do so by using the --enable-module=rewrite --enable-shared=rewrite options. Alternatively, you can enable all stable modules (look at the apache-version/INSTALL file, section LIST OF AVAILABLE MODULES) by using the --enable-module=all --enable-shared=max options.
Here's my configure.apache_ssl:
Then, if you need to rebuild apache do:
cd /usr/local/directadmin/customapache
./build apache_mod_ssl
service httpd restart
Hope that helps
You could also check your /etc/httpd/conf/httpd.conf file. You should see the following lines:
Code:
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c
AFAIK, mod_rewrite does NOT come with default apache installation. Check your configure.apache_ssl (under directadmin/customapache). You should have enabled mod_rewrite. You can do so by using the --enable-module=rewrite --enable-shared=rewrite options. Alternatively, you can enable all stable modules (look at the apache-version/INSTALL file, section LIST OF AVAILABLE MODULES) by using the --enable-module=all --enable-shared=max options.
Here's my configure.apache_ssl:
Code:
#!/bin/sh
./configure \
--with-apache=../apache_1.3.33 \
--with-ssl=/usr \
--prefix=/etc/httpd \
--exec-prefix=/etc/httpd \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc/httpd/conf \
--enable-module=all \
--enable-module=ssl \
--enable-shared=max \
--enable-suexec \
--suexec-docroot=/ \
--suexec-caller=apache \
--suexec-userdir=public_html \
--includedir=/usr/include/apache \
--libexecdir=/usr/lib/apache \
--datadir=/var/www \
--iconsdir=/var/www/icons \
--htdocsdir=/var/www/html \
--manualdir=/var/www/html/manual \
--cgidir=/var/www/cgi-bin \
--localstatedir=/var \
--runtimedir=/var/run \
--logfiledir=/var/log/httpd \
--proxycachedir=/var/cache/httpd \
--with-perl=/usr/bin/perl \
--add-module=mod_frontpage.c \
--enable-module=auth_digest \
--disable-module=auth_db \
--disable-module=auth_dbm
Then, if you need to rebuild apache do:
cd /usr/local/directadmin/customapache
./build apache_mod_ssl
service httpd restart
Hope that helps