I don't need the user group setup, only going to have a couple users. I just didn't realize they stored the user name in the CFG file itself instead of increpted somewhere else along with the passwords. This whole thing is more for easy access for me on the road (like today! and whats up with business hotels that don't have broadband?)
I am currently using a free dynamic DNS service, can't remember what the name is but it's whatever servs up ath.cx. That will work for the below setup right? The <VirtualHost yourhostname> line would then end up with <VirtualHost scottjal.ath.cx> correct?
I can specify drive letters here right? This has no whitespaces allowed in the directorys?
#wherever you want the website server from
E:/PublicFolder/Files
What is this for, do I need it? All my content will by static, no dynamic stuff at all.
#location of CGI
ScriptAlias /cgi-bin/ /home/user/public_html/cgi-bin/
So I can paste this right in the bottom of the CFG file or does it need to replace some stuff in there, sorry I am away right now and can't look at it at the moment.
Code:
#enter a wildcard "*" as the host since you don't want a static IP
#followed by the port in which apache will listen for this request
NameVirtualHost *:33000
#Don't I need to tell it to listen to the ports? or does the above replace
#this somehow?
Listen 80
Listen 33000
#add your hostname here
<VirtualHost scottjal.ath.cx:33000>
#add your hostname aliases here, any name which needs to display your website
ServerAlias scottjal.ath.cx
#Your e-mail
ServerAdmin [email]me@here.com[/email]
#wherever you want the website server from
DocumentRoot E:/PublicFiles/
#your hostname
ServerName hostname
#Authentication section below
#type of authentication
AuthType Basic
#message to display
AuthName "Please Login"
#location of username/password file
AuthUserFile /location/of/file/file
#your usernames
Require user name1 name2 etc
</VirtualHost>