jsilvestre

Member
Jul 7, 2005
24
0
151
Enable mod_rewrite

Dear ramystyle,

To enable mod_rewrite you just make this:

- pico -w /usr/local/apache/conf/httpd.conf and add or uncomment lines:

- LoadModule rewrite_module libexec/mod_rewrite.so

- AddModule mod_rewrite.c

- <IfModule mod_rewrite.c>
RewriteEngine on
RewriteMap LeechProtect prg:/usr/local/cpanel/bin/leechprotect
</IfModule>
 

jsilvestre

Member
Jul 7, 2005
24
0
151
mod_rewrite

Dear ramystyle,

did you have cpanelPro installed? :)
 

ramystyle

Well-Known Member
Feb 9, 2004
67
0
156
Montreal
In my phpinfo there's a line saying:

Server API CGI

A friend suggested that this should be APACHE instead of CGI.. I don't know if it's true.. And if it is, how do I have it changed :confused:
 

jsilvestre

Member
Jul 7, 2005
24
0
151
Php CGI

Dear ramystyle,

in /usr/local/apache/conf/httpd.conf uncomment lines:

- LoadModule php4_module libexec/libphp4.so

and

- AddModule mod_php4.c


After that you just need restart apache. :)