Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

rewrite rules

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  NameVirtualHost * problem (Apache 2.0.46)  
Author Message
moritz

External


Since: Dec 17, 2004
Posts: 2



(Msg. 1) Posted: Fri Dec 17, 2004 3:01 am
Post subject: rewrite rules
Archived from groups: alt>apache>configuration (more info?)

hi

i redirect http traffic from blocked users to a internal webserver, to
inform them, that they are blocked and to give some other 'useful'
information.

this is working only if they use 'simple' urls as www.google.com,
www.cnn.com etc.

it doesn't work for urls with subdirectories as www.google.com/news
and so on.

i tried a little bit with the rewriting rules, but honestly it does
not work at all.

has someone a solution for it or some good links?

cheers
moritz

 >> Stay informed about: rewrite rules 
Back to top
Login to vote
leendert

External


Since: Nov 23, 2004
Posts: 20



(Msg. 2) Posted: Fri Dec 17, 2004 8:35 am
Post subject: Re: rewrite rules [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Op Fri, 17 Dec 2004 03:01:29 -0800, schreef moritz gartenmeister:
 > hi
 >
 > i redirect http traffic from blocked users to a internal webserver, to
 > inform them, that they are blocked and to give some other 'useful'
 > information.
 >
<font color=purple> > this is working only if they use 'simple' urls as <a style='text-decoration: underline;' href="http://www.google.com,</font" target="_blank">www.google.com,</font</a>>
 > <a style='text-decoration: underline;' href="http://www.cnn.com" target="_blank">www.cnn.com</a> etc.
 >
<font color=purple> > it doesn't work for urls with subdirectories as <a style='text-decoration: underline;' href="http://www.google.com/news</font" target="_blank">www.google.com/news</font</a>>
 > and so on.
 >
 > i tried a little bit with the rewriting rules, but honestly it does
 > not work at all.
 >
 > has someone a solution for it or some good links?

Can you give us some more info on your current configuration? Do
you have Apache configured as a forward proxy server?

-leendert bottelberghs<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: rewrite rules 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Rewrite rules - How do you rewrite links of the form: index.cgi?param1=value1&param2=value2 to make them google friendly ?

ReWrite Rules - Hi, Currently my homepage is http://www.indigoclothing.com/index.shtml However I would now want my homeapge to be: http://www.indigoclothing.com/cgi-bin/page.cgi?d=1&page=homepage The dynamic page is different from the static one as the featured...

Rewrite rules & Subdomains - Hi, We are looking to use rewrites rules for subdomains. Ex: http://sub.domain.com -> http://www.domain.com/sub We use this rule: RewriteEngine on RewriteCond %{HTTP_HOST} ^[^.]+\.DOMAIN\.TLD$ RewriteRule ^(.+) ...

Apache Rewrite Rules - Hello, I have compiled mod_rewrite and mod_proxy into my apache 1.3.x server and are trying to rewrite any requests that come into the server for files in my cgi-bin/ directory to another apache server running on port 8080. I have tried these two rule...

Combining two rewrite rules - stuck :| - Hello I'm trying to combine: RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://poff\.sixbit\.org.*$ [NC] RewriteCond %{REQUEST_FILENAME} .*\.(jpg|gif|png|jpeg)$ RewriteRule \.(jpg|gif|png|jpeg)$..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]