# # This should be self-explanatory, the name and port under which the server # identifies itself. If the port is 80 (default) it is not necessary to include it. # # If this is not set to a valid DNS name, server-side redirects will fail. # ServerName www.kayakstudio.com # # This address shows up on some server-generated pages, so be nice and make it a # real one :) # ServerAdmin ivx_productions@yahoo.com # # Other names this server is known by. # # ServerAlias unix-girl.com # ServerAlias kasia.unix-girl.com # # Place where the documents for this domain live. # DocumentRoot /var/www/kayak/ # # Directory specifications, this is all explained in the configuration # file itself, and also in the apache documentation. # Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all # # Index files, can be more than one, I'm boring :) # DirectoryIndex index.html # # Access file - this is where your users can overwrite access for their # directory (if you allow for them to overwrite, that is) # AccessFileName .htaccess # # This whole section deals with logging. # Specify a separate location for this vritual host's logs and you won't have to # sift through a 500000000000K line log file to find who's linking to your collection # of Al Bundy quotes. # # # Hostname lookups while fun and convenient do slow down the server a tad. I know how to # use nslookup (or dig for newer linux fans). # HostnameLookups Off ErrorLog /websites/unix-girl/logs/error_log # # Unless you want your server to crawl.. leave it at warn # LogLevel warn # # These are actually the default apache log formats, but if I wanted to log it # differently I could do so easily with this section in here.. # LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent # # With all info in one log, it's easier to read & parse intersting information out. # CustomLog /websites/unix-girl/logs/access_log combined # # This adds a line containing server version and host name to server-generated pages. # Why not? # ServerSignature On # # # This tells apache that files contained under ug_pubhtml directory in users' home # directories should be published under the unix-girl.com domain. # ug_pubhtml, get it? unix-girl public_html, I'm that witty. # UserDir ug_pubhtml # # This is the error handling part - as in place where pages live that display # errors, by using this directive here I can customize the look of my error # pages, nifty, no? # Alias /error/ "/websites/unix-girl/error/" AllowOverride None Options IncludesNoExec AddHandler type-map var Order allow,deny Allow from all LanguagePriority en es de fr # # The end. #