httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Christophe Boggio <apa...@thefreecat.org>
Subject Re: [users@httpd] Problem with URL Rewriting
Date Sat, 02 Jun 2012 15:57:26 GMT
Michael,

Thanks again for your help.

Le 02/06/2012 14:55, Michael Streeter a écrit :
> I'm afraid I'm stumped on that one. I too would expect that voir.html wouldn't be opened
with the rewrite in place.

Good to know. I don't use rewriting usually so I was not sure if I understood the docs correctly.

> Can users still get the files with the voir URL if voir.html is removed?

Yes. access.log still says :

81.56.192.64 - - [02/Jun/2012:17:52:48 +0200] "GET /archives/voir.html?file=/data/pdf/J_2005_01_039.pdf
HTTP/1.1" 200 229837 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:12.0) Gecko/20100101
Firefox/12.0"

but I guess that's normal. Hopefully they don't get a 404.

> Are the .html files actually Perl CGI scripts?

No, it's embedded perl (like PHP but with the Perl language).

> If your server has low traffic and if you can afford to temporarily bring your site down
down maybe stracing will provide further clues as to what is going on? The output would be
too long to paste in a mailing list, but sometimes looking through it can provide ideas for
further investigation.
> Stop the httpd service, then run something like: strace -o strace.log -vtf httpd -X
> Then go to "http://medecine-et-enfance.net/archives/voir.html?file=J_2005_01_039.pdf",
stop the strace, and take a look at strace.log.

Ok. I've never done that before but there's a time for everything :-)
I'll give it a try tomorrow.

Thanks again for your time.

Jc

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message