httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jorge Schrauwen" <jo...@blackdot.be>
Subject RE: [users@httpd] Mod_rewrite help
Date Thu, 20 Jan 2005 17:06:39 GMT
http://%{SERVER_NAME}/imageview5/index.php?album=$1
<http://%{SERVER_NAME}/imageview5/index.php?album=$1&file=$2> &file=$2
that would work aswell right?
 
Jorge

  _____  

From: PMilanese@nypl.org [mailto:PMilanese@nypl.org] 
Sent: Thursday, January 20, 2005 18:06
To: users@httpd.apache.org
Subject: RE: [users@httpd] Mod_rewrite help



Add a hosts entry for schrauwen.no-ip.org to 127.0.0.1

 

  _____  

From: Jorge Schrauwen [mailto:jorge@blackdot.be] 
Sent: Thursday, January 20, 2005 11:57 AM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Mod_rewrite help

 

ok i turned on the logging, and i got it to work

---

RewriteEngine on
RewriteRule ^view/(.*)/(.*)
http://schrauwen.no-ip.org/imageview5/index.php?album=$1
<http://schrauwen.no-ip.org/imageview5/index.php?album=$1&file=$2> &file=$2
[R,L]

---

 

i got an other question though, how would i drop
http://schrauwen.no-ip.org/imageview5, well not drop make it so it is
ajusted, so if i access it via 127.0.0.1 it will read
http://127.0.0.1/imageview5?

 

thanx for all the help

 

Jorge

 

 

  _____  

From: Sean T Allen [mailto:sean@ardismg.com] 
Sent: Thursday, January 20, 2005 17:52
To: users@httpd.apache.org
Subject: Re: [users@httpd] Mod_rewrite help

http://httpd.apache.org/docs/mod/mod_rewrite.html#RewriteLog

and the entry directly below that...

Jorge Schrauwen wrote: 

yes, i always get errors!

 

and how would i turn on the loggin for mod_rewrite? i don't have it on.

 

Jorge

 

  _____  

From: Sean T Allen [mailto:sean@ardismg.com] 
Sent: Thursday, January 20, 2005 17:05
To: users@httpd.apache.org
Subject: Re: [users@httpd] Mod_rewrite help

Are you getting the error all the time or only when going through a vhost...

Have you turned on mod rewrite logging to get a better idea of what is going
on?

Jorge Schrauwen wrote: 

Yes,

Main config -> http

vhost -> https

vhost2 -> DAV

 

Jorge

  _____  

From: Sean T Allen [mailto:sean@ardismg.com] 
Sent: Thursday, January 20, 2005 16:33
To: users@httpd.apache.org
Subject: Re: [users@httpd] Mod_rewrite help

Then it probably is an issue somewhere else in your configuration...

Are you using virtual hosting?

Jorge Schrauwen wrote: 

nope adding the [R,L] didn't help :(

 

Jorge

 

  _____  

From: Sean T Allen [mailto:sean@ardismg.com] 
Sent: Wednesday, January 19, 2005 22:48
To: users@httpd.apache.org
Subject: Re: [users@httpd] Mod_rewrite help

RewriteEngine on
RewriteRule ^/imageview5/view/(.*)/(.*)
http://schrauwen.no-ip.org/imageview5/index.php?album=$1
<http://schrauwen.no-ip.org/imageview5/index.php?album=$1&file=$2> &file=$2
[R,L]
 
  


Jorge Schrauwen wrote: 

Ok now I have:
---
RewriteEngine on
RewriteRule ^/imageview5/view/(.*)/(.*)
http://schrauwen.no-ip.org/imageview5/index.php?album=$1
<http://schrauwen.no-ip.org/imageview5/index.php?album=$1&file=$2> &file=$2
---
And it olso doesn't work, error log line is still the same.
 
Thanx again for the help
 
Jorg
 
 
-----Original Message-----
From: Brian V Hughes [mailto:brianvh@Dartmouth.EDU] 
Sent: Wednesday, January 19, 2005 20:40
To: users@httpd.apache.org
Subject: Re: [users@httpd] Mod_rewrite help
 
 
Have you tried putting in a line to turn on Rewrite logging? That way you
can look through the log file to see exactly what mod_rewrite is doing to
the request URLs.
 
-Brian
 
 
On Jan 19, 2005, at 02:37 PM, Jorge Schrauwen wrote:
  

No, still doesnt work, i still get a 404.
 
I tried from .htaccess and httpd.conf, same result
 
--- error.log ---
[Wed Jan 19 20:34:10 2005] [error] [client 192.168.2.4] File does not
exist: S:/wwwroot/imageview5/view
 
thanx for the help though
 
Jorge
    

 
 
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See  <http://httpd.apache.org/userslist.html>
<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
 
 
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See  <http://httpd.apache.org/userslist.html>
<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
 
 
  

 

 

 

 


Mime
View raw message