URL Rewrite???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all

Not really a php issue per se - sorry.
But I'm sure someone here is bound to know the answer. :-)

I have a main site that is accessible at say 
"http://www.somedomain.com/somedir/"; but I want visitors to be able to 
access the site using simply "http://www.somedomain.com"; AND for the 
resulting URL displayed to STILL say "http://www.somedomain.com";  and not 
"http://www.somedomain.com/somedir/";.

Should this be possible using the .htaccess file and some mod_rewrite rule? 
Toyed around with that but couldn't get it to work.

ANY help would be greatly appreciated, thanks

P.S. Platform: Linux RedHat (running Apache)

scorpy 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux