Sharley wrote:That 403 message can also be hand html coded in to the index.html file and have the index.html file have a look and feel of your site with added Google ads and other goodies to make it pay for example instead of an ugly system warning window - only seeding ideas here.
LOL, thanks! Haha.
Ok, I have one other challenge and since it no doubt pertains to a .htaccess file somewhere (can't find which lil booger is doing it), I need a little help getting this correct.
I followed
http://community.apachefriends.org/f/viewtopic.php?f=16&t=20322&p=85560&hilit=+how+sub+domain+vhost+sub+domain+to+a+folder+vhost#p85560 (that's an old post!) and successfully configuring my sub-domain to go to the correct folder. But I have a small issue, because Joomla, which is in my root folder for the site, I think has denied folder access to my /phpBB/ folder. So after a little searching, I found a little snippet of code to add to my vhost file and all is well, until I set my sub-domain up.
Now with the following configuration, I can go to my subdomain, which is forums.mydomain.com and it works fine. But if I go to
www.mydomain.com/phpBB/, I get the Error 500 about the CGI being overloaded and I know it comes down to that darn .htaccess file somewhere. So here's my info:
- Code: Select all
<VirtualHost *:80>
ServerName mydomain.info
ServerAlias www.mydomain.info
DocumentRoot "B:/xampp/mydomain"
<Directory "B:/xampp/mydomain">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName forums.mydomain.info
ServerAlias www.forums.mydomain.info
DocumentRoot "B:/xampp/mydomain/phpBB"
<directory "B:/xampp/mydomain/phpBB" >
Options Indexes FollowSymlinks Includes MultiViews Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</directory>
</VirtualHost>
Now just prior to setting the sub-domain for it, I had to have this to access that folder:
- Code: Select all
<VirtualHost *:80>
ServerName mydomain.info
ServerAlias www.mydomain.info
DocumentRoot "B:/xampp/mydomain"
<Directory "B:/xampp/mydomain">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>
Alias/phpBB "B:/xampp/mydomain/phpBB"
<directory "B:/xampp/mydomain/phpBB" >
Options Indexes FollowSymlinks Includes MultiViews Includes
AllowOverride All
Order allow,deny
Allow from all
</directory>
</VirtualHost>
And that gave me access to the /phpBB folder. But I had to remove the
Alias/phpBB "B:/xampp/mydomain/phpBB" once I created the sub domain, otherwise I got an error when I tried restarting apache.
I imagine the best answer is to find that pesky .htaccess file, but I honestly don't know which one out of several is doing it. I don't guess it's a big deal whether or not I solve this, because after all, I CAN reach it, but I'd like to figure out how to fix the little "kinks in the hose" so I can fix them in the future.
Thanks again!