how to fix virtual host in the webmin-Apache setup

Puppy related raves and general interest that doesn't fit anywhere else
Post Reply
Message
Author
sayhello_to_the_world
Posts: 77
Joined: Mon 24 Dec 2012, 15:19

how to fix virtual host in the webmin-Apache setup

#1 Post by sayhello_to_the_world »

hello dear puppy experts

i guess that i need to fix the webmin apache - setup

fairly new to webmin

i have set up several pages

but i have to type
http://www.xy vs. www.xy to access the page
why is this so?
how to adjust the webmin-apache?


to see it in a live example - try it out:

check http://www.ex-libri.org (truely beta beta)
- type it with and witrhout the http _ see the change
once you can access the site - the other time you dont

the apache needs to be configured - or not?

Well if you type all the way...http://www. then It works for me.

But i need to check the virtual hosts to make sure that i have one without www and without http.

i have had a look at the documents here

VirtualHost Examples - in Apache HTTP Server Version 2.2 and Webmin are two articles worth looking at.
http://httpd.apache.org/docs/2.2/vhosts/examples.html

and into the webmin documents
ttp://www.webmin.com/apache.html


And if we have a closer look at the "Virtual Server Details" of the allready set up vhosts:

we have the following details:


document-root:

default:
or: /sites/www.ex-libri.org


server-name:

default:
or www.ex-libri.org


note - i ve choosen both times not the default values...

question: should i change that..?

Post Reply