var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
I can NOT install mod_rewrite in Apache 2.x!
CentOS 4.4 x64 (64-bit system!)
httpd-2.2.3 unix source
Trying to do:
Compile Apache, with mod_rewrite (absolutely needed).
# ./configure --prefix=/usr/local/apache --enable-so --enable-cgi --enable-info --enable-rewrite --enable-speling --enable-usertrack --enable-deflate --enable-ssl --enable-mime-magic --enable-modules=mod_rewrite
mod_rewrite is not installed!
# /usr/local/apache/bin/apachectl -l
Compiled in modules:
I am not seeing any error messages, but mod_rewrite is not installed, and can't (of course) be used. I have tried with 2.0.59 as well. Even when I try with --enable-modules=all mod_rewrite is not installed. Does anyone know anything about this problem and how it can be fixed?
I would surely appreciate any help! Thank you.
I posted this on another forum, but unfortunately no one could help. I suppose that you guys are pros, and maybe knows something...
Here's my way:
CFLAGS="-g -O3 -fno-omit-frame-pointer" CXX="gcc" \
CXXFLAGS="-g -felide-constructors -fno-exceptions -fno-rtti -O3 -fno-omit-frame-pointer" \
./configure --prefix=/usr/local/apache \
--enable-rewrite && make clean && make && make install
This will install the modules, which you can comment out etc once it's installed via conf/httpd.conf
This worked with 2.2.3 for me, and mod_rewrite was enabled by default when I checked httpd.conf
Thank you. Unfortunately I just got a new problem.
This should probably go into a new thread.
When I do /usr/local/apache2/bin/apachectl start it goes back to the command prompt. No messages. But httpd/apache is not started.
How can I troubleshoot?
httpd-2.2.3]# /usr/local/apache2/bin/apachectl start
httpd-2.2.3]# /usr/local/apache2/bin/apachectl restart
httpd not running, trying to start
check your error log, probably: /usr/local/apache2/logs