Virtual Hosting and mod_rewrite

Using a single web hosting account to host multiple sites

Virtual Hosting and mod_rewrite

Postby UncleCemka » Mon Sep 12, 2005 12:59 pm

I have the following virtual host setup for Apache:
<VirtualHost *:7778>
ServerName sam.fda.gov
Port 9001
DocumentRoot "/u01/oracle/app/ora10gMID_home/Apache/Apache/htdocs/sam"
</VirtualHost>

This works fine, and forwards me to the sam directory, where it runs the index.html file. I want http://sam.fda.gov:9001 to automatically forward me to a portal page such as:
http://sam.fda.gov:9001/pls/portal/page_id.......This will be always be static.

Also, if a link to the full URL is used (http://sam.fda.gov:9001/pls/portal/page_id...) the rewrite should not do anything, since a full URL is already used, instead of short one

Please help,
Sam
UncleCemka
 
Posts: 1
Joined: Mon Sep 12, 2005 12:55 pm

Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 2 guests

cron