Apache2 mod_rewrite
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear all, I have a question regarding to Apache2 on SuSE 9.3. Is it already compile with mod_rewrite? I try to rewrite some address but Apache2 always refuse, it says "....Invalid command 'RewriteRule', perhaps mis-spelled or defined by a module not included in the server configuration" Anybody here has the same problem? TIA Edwin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) iD8DBQFDC/8ikaMcq796kjoRAoPAAJ9OuuEm5qayUfG0SmVyGeos9QHtzgCbB1hV iF/1A4JEpl6eZTjySx1z9GU= =UNw2 -----END PGP SIGNATURE----- This is virus free email scanned by mail.nsi.co.id
M. Edwin wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Dear all,
I have a question regarding to Apache2 on SuSE 9.3. Is it already compile with mod_rewrite? I try to rewrite some address but Apache2 always refuse, it says
"....Invalid command 'RewriteRule', perhaps mis-spelled or defined by a module not included in the server configuration"
Anybody here has the same problem?
TIA Edwin -----BEGIN PGP SIGNATURE-----
It seems not, but a module exists, so it may just be a case of adding "rewrite" to /etc/sysconfig/apache2 APACHE_MODULES=" line and doing "SuSEconfig --module apache2" followed by "rcapache2 restart". /usr/lib/apache2/mod_rewrite.so # httpd2-prefork -l Compiled in modules: core.c prefork.c http_core.c mod_so.c Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist Microsoft Windows Free Zone - Linux used for all Computing Tasks
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sid Boyce wrote:
M. Edwin wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Dear all,
I have a question regarding to Apache2 on SuSE 9.3. Is it already compile with mod_rewrite? I try to rewrite some address but Apache2 always refuse, it says
"....Invalid command 'RewriteRule', perhaps mis-spelled or defined by a module not included in the server configuration"
Anybody here has the same problem?
TIA Edwin -----BEGIN PGP SIGNATURE-----
It seems not, but a module exists, so it may just be a case of adding "rewrite" to /etc/sysconfig/apache2 APACHE_MODULES=" line and doing "SuSEconfig --module apache2" followed by "rcapache2 restart". /usr/lib/apache2/mod_rewrite.so
# httpd2-prefork -l Compiled in modules: core.c prefork.c http_core.c mod_so.c Regards Sid.
Thanks for your reply. You right. After I load the module it works now. Thanks (again) also to Christian Pignol, he suggest to use YAST to activate the module which is work fine also. Regards, Edwin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) iD8DBQFDDEVBkaMcq796kjoRApTFAKCxQNQ/rcmHg6g36vmt1w0oUbJJVQCgyiZx aEz06KMRxod4+FXOhpIe+Nw= =41QN -----END PGP SIGNATURE----- This is virus free email scanned by mail.nsi.co.id
participants (2)
-
M. Edwin
-
Sid Boyce