RE: [users@httpd] Problems Adding Directives to the httpd.conf file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don't believe so. I ran the httpd -l command and there was no listing
referencing rewrite. How would I go about 
enabling the module?

-----Original Message-----
From: Yu, Ming [mailto:Ming.Yu@xxxxxxxxxx]
Sent: Wednesday, March 23, 2005 12:48 PM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: [users@httpd] Problems Adding Directives to the httpd.conf
file


Did you enable the Rewrite module?

- Ming

-----Original Message-----
From: Kaplan, Andrew H. [mailto:AHKAPLAN@xxxxxxxxxxxx] 
Sent: Wednesday, March 23, 2005 12:47 PM
To: Apache User List (E-mail)
Subject: [users@httpd] Problems Adding Directives to the httpd.conf file


Hi there --

I want to disable the TRACE and TRACK methods on our Apache 1.3.31
server with the mod_ssl 2.8.18 module. We have one virtual host section
which automatically redirects connections to the server from port 80 to
port 443. I initially added the following lines to both the port 80 and
443 sections:

			RewriteEngine on
			RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
			RewriteRule .* - [F]

However when I stopped and then restarted the server, the error message
I received indicated a syntax error for the first line containing 
RewriteEngine or the command was not defined. 

Any ideas? Thanks. 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project. See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux