httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: AW: [users@httpd] +Indexes And -Indexes according to ip-adress in allow for same Di rectory - possible?
Date Fri, 11 Oct 2002 16:01:17 GMT
Albl, Thomas wrote:
> Hi Joshua,
> 
> thanks for your help, but one thing to mention:
> 
> 
>>RewriteEngine On
>>RewriteCond %{REMOTE_HOST} ^localhost$ [NC]
>>RewriteRule (.*) /getindex/$1
> 
> 
> Doesn't that mean, that the searchengine get every URL with a "getindex"
> after the hostname, so that I have to "rewrite" the URL's before I store
> them to the search-engines database? Sure, I work with the ht://dig, so this
> should be possible. I will give t a try...

No.  "getindex" is seen only internally in Apache.  It is later 
rewritten again using an Alias.  Come to think of it, you'll probably 
need to use a [PT] on the end of that RewriteRule to get the Alias to work.

Joshua.



---------------------------------------------------------------------
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


Mime
View raw message