Link to home
Start Free TrialLog in
Avatar of sudhirgoogle
sudhirgoogle

asked on

Query Regarding Apache httpd.conf

Hello,

When the browser hit the URL http://10.40.123.113 it automatically takes it to https://10.40.123.113/cms/CMSClient.html URL page.
My question is what configuration steps was done in httpd.conf file to achieve this ?
How does the apache knows that it has to serve the file CMSClient.html that exists under cms directory ?
the user just types the ip in the URL, the apache knows that whenever it receives the request which merely has the ip info then it has to server the file CMSClient.html,   ...... in which section we define this behavior in httpd.conf.

i can provide you the information you need.
SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sudhirgoogle
sudhirgoogle

ASKER

in httpd.conf what type of entries should be there for redirection ?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Put above code in .htaccess file and requests will be redirected
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for your solution.