Hi all,

I currently run a small IRC server (irc.website.com). irc.website.com resolves to The IRC server has the following stuff in it (/home/website):

passwd (linked in .htaccess)

Under /public_html is a sub-folder called logs, which has two folders: channel-logs and private-logs. The .htaccess file is under /public_html/logs. Here's the stuff in it:
AuthName "Enter Password"
AuthType Basic
AuthUserFile /home/website/passwd
Require valid-user
I have a VirtualHost set up for irclogs.website.com (I have to distribute this link to others) that uses the .htaccess info to log in. However, when irc.website.com is typed, it prompts me for a username/password, and uses the .htaccess file under /public_html/logs.

        ServerName irclogs.website.com
        ServerAlias irclogs.website.com
	DocumentRoot /home/website/public_html/logs
	ServerAdmin webmaster@website.com
        UseCanonicalName Off

 #DocumentRoot /home/website/public_html/logs
 #Directory /home/website/public_html/logs
 #AuthDBMUserFile /home/website/passwd

	<Directory />
		Options FollowSymLinks
		AllowOverride None
	<Directory /home/website/public_html/logs>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride AuthConfig
		Order allow,deny
		allow from all
                AuthName "Private"
                AuthType Basic
                AuthBasicProvider dbm
                AuthDBMUserFile /home/website/passwd
                Require valid-user
	ScriptAlias /cgi-bin/ /home/website/public_html/cgi-bin/
	<Directory "/home/website/public_html/cgi-bin/">
		AllowOverride None
		Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all

	ErrorLog /home/website/logs/website_error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /home/website/logs/website_access.log combined
        CustomLog /home/website/logs/website.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
	ServerSignature On

Basically, I don't want "irc.website.com" to be accessible from the browser. I only want that to be used when users are connecting to the IRC server. I'm not too good with VirtualHosts (still getting the hang of it). OS = Ubuntu with Apache2.

Any help is appreciated. Thanks!