Greenguy's Board


Go Back   Greenguy's Board > Search Engines
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-06-03, 04:35 PM   #1
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
Well, the server config only does the redirect on certain conditions:

ServerName www.domain.com
ServerAlias domain.com

When a request for http://domain.com/ comes in, the alias says, serve it if you have it. So, it finds index.html (or index.php whatever) and serves it.

If you have a Directory like http://domain.com/directory/ it will again serve the index.html (or .php/.shtml/whatever)

However, if you have a link like: http://domain.com/directory when the server does the request it says, hey, directory is not a file, redirect it to the server, let me build the name, and redirects to http://(ServerName)/directory/

So, if the request that comes in is properly formed, apache will not redirect to the ServerName specified in the config.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:30 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc