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

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  .htaccess question  
Author Message
nospam194

External


Since: Dec 01, 2003
Posts: 1



(Msg. 1) Posted: Mon Dec 01, 2003 6:09 pm
Post subject: Rewrite rules & Subdomains
Archived from groups: alt>apache>configuration (more info?)

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 ^(.+) %{HTTP_HOST}$1 [C]
RewriteRule ^([^.]+)\.DOMAIN\.TLD(.*) /HOME/USER/$1$2

But it only works whith Netscape/Mozilla, with MS IE pics are not shown.

Does S/O have an idea of our mistake ?

Thanks

Julien

 >> Stay informed about: Rewrite rules & Subdomains 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
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...

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)$..

SubDomains and a RAQ4 - Another sub-domain question. This may not be the proper place, but I can't seem to get an answer from Sun on this. I have a Cobalt Raq 4 with all current patches, but default installs of software. I want to create subdomains that are controlled by one...

mod-rewrite - I am attempting to use mod-rewrite to chnage my dynamically created pages into static urlls for search engine submission. I am unable to get the rewrite to work, it doesn't seem to do anything. Here is the code RewriteEngine on RewriteBase..
   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 ]