You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Marcelo P. Lima" <mp...@cornell.edu> on 2004/03/16 18:20:32 UTC

[users@httpd] Mod_rewrite not working on 1.3.28

Hello everyone,

I have a dev environment on my laptop, apache 1.3.29 on Mac OS X, and a 
production environment, apache 1.3.28 on RH Linux 7.2.

In the dev environment, my httpd.conf file has the following inside a 
VirtualHost directive:

	RewriteRule ^/digital$  /digital.php

to map requests. This works perfectly on the 1.3.29 installation (dev), 
but doesn't work at all on the 1.3.28 installation (production). The 
specific error is a 404 (request /digital/20040101 not found).

In both installations, I am loading the mod_rewrite module. Everything 
else seems identical... so I don't know how else to troubleshoot this 
problem.

For good measure, I added

	RewriteEngine on

in the VirtualHost of the production installation (as instructed by the 
httpd docs), to no avail.

Anybody know what's going on?

Thanks,
Marcelo


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Trouble with ssl module

Posted by Geoff Hartman <ge...@fivepack.net>.
Has anyone had trouble installing apache 2 with ssl? Here is what I am
experiencing:

I am following the directions here:
http://www.linuxguruz.com/z.php?id=32

It all compiles correctly, but when I try to start ssl I get the following
errors in the error_log:
[Mon Mar 15 13:53:47 2004] [error] Init: Unable to read server certificate
from file /usr/local/apache/conf/ssl.crt/server.crt
[Mon Mar 15 13:53:47 2004] [error] SSL Library Error: 218529960
error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Mon Mar 15 13:53:47 2004] [error] SSL Library Error: 218595386
error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error

I have checked the path & they are correct. Can anyone offer any
suggestions?

-Geoff H



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Mod_rewrite not working on 1.3.28

Posted by Brian Dessent <br...@dessent.net>.
"Marcelo P. Lima" wrote:

> In the dev environment, my httpd.conf file has the following inside a
> VirtualHost directive:
> 
>         RewriteRule ^/digital$  /digital.php
> 
> to map requests. This works perfectly on the 1.3.29 installation (dev),
> but doesn't work at all on the 1.3.28 installation (production). The
> specific error is a 404 (request /digital/20040101 not found).

The URL "/digital/20040101" does not match the above rule, so it's not
going to be rewritten.  '$' means 'end of line' in a regexp, so the
above rule will match "/digital" and nothing else.

Brian

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Mod_rewrite not working on 1.3.28

Posted by "Marcelo P. Lima" <mp...@cornell.edu>.
Apologies to anyone who tried to reply to this, my Maildir was 
overquota but it's fixed now...

Here is the original message:

Hello everyone,

I have a dev environment on my laptop, apache 1.3.29 on Mac OS X, and a 
production environment, apache 1.3.28 on RH Linux 7.2.

In the dev environment, my httpd.conf file has the following inside a 
VirtualHost directive:

	RewriteRule ^/digital$  /digital.php

to map requests. This works perfectly on the 1.3.29 installation (dev), 
but doesn't work at all on the 1.3.28 installation (production). The 
specific error is a 404 (request /digital/20040101 not found).

In both installations, I am loading the mod_rewrite module. Everything 
else seems identical... so I don't know how else to troubleshoot this 
problem.

For good measure, I added

	RewriteEngine on

in the VirtualHost of the production installation (as instructed by the 
httpd docs), to no avail.

Anybody know what's going on?

Thanks,
Marcelo






---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org