Re: [us...@httpd] Problem with mod_rewrite proxy for .asp DirectoryIndex

2009-05-15 Thread Eric Covener
On Fri, May 15, 2009 at 11:34 AM, S.A. Birl wrote: > Hello all: > 1) If I browse to http://127.0.0.0/sbirl/ASP/  I get the ASP source >   code Is this because the ASP also lives in your Apache docroot? > > 2) If I browse to http://127.0.0.1/sbirl/ASP/default.asp, it proxies >   like it should >

Re: [us...@httpd] Problem with Mod_Rewrite

2009-04-14 Thread Brian Mearns
On Tue, Apr 14, 2009 at 3:32 PM, ricardo13 wrote: > > Hi all, > > I have other doubt about mod_rewrite. > > Have this line in httpd.conf: > > RewriteEngine on > RewriteRule ^/index/([0-9]+)/$ /index.html?id=$1 > > When type "http://localhost/index.html?id=11"; it doesn't show URL > "http://localho

Re: [us...@httpd] Problem with Mod_Rewrite

2009-04-14 Thread matt farey
page Sent from my BlackBerry® wireless device -Original Message- From: Justin Pasher Date: Tue, 14 Apr 2009 15:03:51 To: Subject: Re: [us...@httpd] Problem with Mod_Rewrite ricardo13 wrote: > Hi all, > > I have other doubt about mod_rewrite. > > Have this line in httpd.c

Re: [us...@httpd] Problem with Mod_Rewrite

2009-04-14 Thread Justin Pasher
ricardo13 wrote: Hi all, I have other doubt about mod_rewrite. Have this line in httpd.conf: RewriteEngine on RewriteRule ^/index/([0-9]+)/$ /index.html?id=$1 When type "http://localhost/index.html?id=11"; it doesn't show URL "http://localhost/index/11/"; I saw this example in a site. Th

Re: [us...@httpd] Problem with Mod_Rewrite

2009-04-14 Thread ricardo13
Hi all, I have other doubt about mod_rewrite. Have this line in httpd.conf: RewriteEngine on RewriteRule ^/index/([0-9]+)/$ /index.html?id=$1 When type "http://localhost/index.html?id=11"; it doesn't show URL "http://localhost/index/11/"; I saw this example in a site. What's happen ??? Ricar

Re: [us...@httpd] Problem with Mod_Rewrite

2009-04-14 Thread ricardo13
Thank you !! Ricardo Brian Mearns-2 wrote: > > On Tue, Apr 14, 2009 at 1:43 PM, ricardo13 > wrote: >> >> Hi all, >> >> This line "RewriteRule ^/index.html$ new.html" shows error. >> But "RewriteRule /index.html$ new.html" sucess !!! >> >> And if I put the follow: >>  RewriteRule ^/test.html$

Re: [us...@httpd] Problem with Mod_Rewrite

2009-04-14 Thread Brian Mearns
On Tue, Apr 14, 2009 at 1:43 PM, ricardo13 wrote: > > Hi all, > > This line "RewriteRule ^/index.html$ new.html" shows error. > But "RewriteRule /index.html$ new.html" sucess !!! > > And if I put the follow: >  RewriteRule ^/test.html$ index.html > > But I haven't test.html !!! What's happen ??? >

Re: [us...@httpd] Problem with Mod_Rewrite

2009-04-14 Thread ricardo13
Hi all, This line "RewriteRule ^/index.html$ new.html" shows error. But "RewriteRule /index.html$ new.html" sucess !!! And if I put the follow: RewriteRule ^/test.html$ index.html But I haven't test.html !!! What's happen ??? Ricardo Rodrigo-57 wrote: > > Try with > RewriteRule ^/inde

Re: [us...@httpd] Problem with Mod_Rewrite

2009-04-14 Thread Rodrigo
Try with RewriteRule ^/index.html$ new.html 2009/4/14 ricardo13 > > Hi all, > > I'm doing some tests with module rewrite (mod_rewrite), but I'm have > problems. > I typed the follow in http.conf: > > > RewriteEngine on > RewriteRule ^index.html$ new.html > > > When I type in browser localho

Re: [us...@httpd] Problem with Mod_Rewrite

2009-04-14 Thread Tom Evans
On Tue, 2009-04-14 at 07:49 -0700, ricardo13 wrote: > Hi all, > > I'm doing some tests with module rewrite (mod_rewrite), but I'm have > problems. > I typed the follow in http.conf: > > > RewriteEngine on > RewriteRule ^index.html$ new.html > > > When I type in browser localhost/inde

[us...@httpd] Problem with Mod_Rewrite

2009-04-14 Thread ricardo13
Hi all, I'm doing some tests with module rewrite (mod_rewrite), but I'm have problems. I typed the follow in http.conf: RewriteEngine on RewriteRule ^index.html$ new.html When I type in browser localhost/index.html don't happen nothing. I have file index.html and new.html !!! What's happe