RE: [us...@httpd] Using Rewrite

2009-08-13 Thread Ya Netu
i guess thta what i have to do tnx > Date: Thu, 13 Aug 2009 14:50:06 -0400 > From: francois.ging...@gmail.com > To: users@httpd.apache.org > Subject: Re: [us...@httpd] Using Rewrite > > In that case, you should replicate the site on a local development > server, and

Re: [us...@httpd] Using Rewrite

2009-08-13 Thread Frank Gingras
pache.org > Subject: Re: [us...@httpd] Using Rewrite > > You would place it in your config file, in your > section. > > If you don't have any virtual host, the main config file will do. > > Frank. > > Ya Netu wrote: > > damn, ok then how do i act

RE: [us...@httpd] Using Rewrite

2009-08-13 Thread Ya Netu
i guess that is impossible under shared hosting :( > Date: Thu, 13 Aug 2009 14:38:52 -0400 > From: francois.ging...@gmail.com > To: users@httpd.apache.org > Subject: Re: [us...@httpd] Using Rewrite > > You would place it in your config file, in your > section. >

Re: [us...@httpd] Using Rewrite

2009-08-13 Thread Frank Gingras
> To: users@httpd.apache.org > Subject: Re: [us...@httpd] Using Rewrite > > Ya, > > You can't use RewriteLog in .htaccess. > > Frank. > > Ya Netu wrote: > > same here, > > when i was trying to add this line: > > > > RewriteLog "AA/rewr

RE: [us...@httpd] Using Rewrite

2009-08-13 Thread Ya Netu
damn, ok then how do i actiavte it? > Date: Thu, 13 Aug 2009 14:35:33 -0400 > From: francois.ging...@gmail.com > To: users@httpd.apache.org > Subject: Re: [us...@httpd] Using Rewrite > > Ya, > > You can't use RewriteLog in .htaccess. > > Frank. > >

Re: [us...@httpd] Using Rewrite

2009-08-13 Thread Frank Gingras
sh but no luck... the ath is relative to location of my .htaccess file. TNX for help Date: Thu, 13 Aug 2009 11:37:05 -0600 From: rab4...@gmail.com To: users@httpd.apache.org Subject: Re: [us...@httpd] Using Rewrite Bob thank you, but i receiving a new error me ssage the http 500 and I do not

RE: [us...@httpd] Using Rewrite

2009-08-13 Thread Ya Netu
e. TNX for help Date: Thu, 13 Aug 2009 11:37:05 -0600 From: rab4...@gmail.com To: users@httpd.apache.org Subject: Re: [us...@httpd] Using Rewrite Bob thank you, but i receiving a new error message the http 500 and I do not have access to httpd.conf and also do not know how. 2009/8/12 B

Re: [us...@httpd] Using Rewrite

2009-08-13 Thread Alexis
Bob thank you, but i receiving a new error message the http 500 and I do not have access to httpd.conf and also do not know how. 2009/8/12 Bob Ionescu > 2009/8/12 Alexis : > > ok, then the code would be > > RewriteCond %{HTTP_HOST} ^files\.example\.com$ [NC] RewriteRule ^(.*)$ > > /files/public$

Re: [us...@httpd] Using Rewrite

2009-08-12 Thread Krist van Besien
On Thu, Aug 13, 2009 at 12:30 AM, Ya Netu wrote: > i have some waht similar questiin for debuging my rewrite policy: > How can I tell if my rewrite is being executed if I get 404 error. Any way > to trce if rules is executed and that it was trying to do redirect? tnx Yes. Set a Rewrite Log. Krist

RE: [us...@httpd] Using Rewrite

2009-08-12 Thread Ya Netu
0 > To: users@httpd.apache.org > Subject: Re: [us...@httpd] Using Rewrite > > 2009/8/12 Alexis : > > ok, then the code would be > > RewriteCond %{HTTP_HOST} ^files\.example\.com$ [NC] RewriteRule ^(.*)$ > > /files/public$1 [L] > > or am i wrong? > > Unle

Re: [us...@httpd] Using Rewrite

2009-08-12 Thread Bob Ionescu
2009/8/12 Alexis : > ok, then the code would be > RewriteCond %{HTTP_HOST} ^files\.example\.com$ [NC] RewriteRule ^(.*)$ > /files/public$1 [L] > or am i wrong? Unless you put RewriteEngine off in a .htaccess file located in your files/public/ folder, that would result in an infinite loop. But only

Re: [us...@httpd] Using Rewrite

2009-08-12 Thread Alexis
ok, then the code would be RewriteCond %{HTTP_HOST} ^files\.example\.com$ [NC] RewriteRule ^(.*)$ /files/public$1 [L] or am i wrong? 2009/8/12 Eric Covener > On Wed, Aug 12, 2009 at 8:12 AM, Alexis wrote: > > Hello Friend of the list, > > RewriteBase /files/public > > RewriteRule ^(.*)$ $1 [L]

Re: [us...@httpd] Using Rewrite

2009-08-12 Thread Eric Covener
On Wed, Aug 12, 2009 at 8:12 AM, Alexis wrote: > Hello Friend of the list, > RewriteBase /files/public > RewriteRule ^(.*)$ $1 [L] > > When treated with the url http://files.example.com/archivo.txt The RewriteBase isn't a base of what you want to rewrite to, it needs to reflect the base of where t