Custom Port for virtual host

Mukke

New member
Joined
Jun 3, 2008
Messages
3
Location
Brussels, Belgium
Hey,

I wanted my clients to login to pages i wrote,
I haven't set the site up yet but i wanted to make it somehow a bit secure as in the directory not to be in any page visible by any user on my server.
I did it before and it was something like
Code:
<VirtualHost *:2095>
    ServerAdmin [email protected]
    AliasMatch ^/.* "/var/clients/$1"
    DocumentRoot /var/clients
    ServerName mukke.org
    ScriptAlias /cgi-bin/ /var/www/cgi-bin/
    CustomLog /var/log/httpd/clients.log clients
</VirtualHost>
in my /etc/httpd/conf/extra/httpd-vhosts.conf

not sure if that is the place to put it and not sure if that is the correct way to create it.
Oh yeah and i wanted it to be for every domain i made, if not i can also do it for 1 domain only but that would limit my options somehow...
when i tried http://mydomain.com:2095 i got an error it could not connect to server etc...

Some1 wonna be so kind to help me out here ?
 
Back
Top