Jump to content

Recommended Posts

Posted (edited)

Hi there

 

What wildcards can i use in the httpd.conf file for apache please?

 

This is an example of my virtual server settings

 

ServerName www.website.com

DocumentRoot "C:/xampp/htdocs/website

but if i user types notreal.website.com they get the holding page of our webserver (school name webserver, with our school logo). how would i config apache so that anything on that domain goes to the above directory?

 

i have tried this and it doesnt work

 

ServerName *.website.com

DocumentRoot "C:/xampp/htdocs/website

hope you understand, thanks Edited by FN-GM

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...