Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 intence vhost container.. somethings wrong cant place it...
Google
Post new topic Reply to topic
Author Message
soulzllc
 
 


Joined: 20 Aug 2005
Posts: 12
Location: CT

PostPosted: Sun Aug 21, 2005 10:15 am Reply with quoteBack to top

Quote:
<VirtualHost 67.163.187.189:80>
ServerAdmin staff@futurewebspace.com
DocumentRoot htdocs/www/personal/futurewebspace.com
ServerName www.futurewebspace.com
ServerAlias futurewebspace.com
DirectoryIndex index.htm index.html index.php index.shtml index.asp index.cgi index.php3
ErrorLog D:/apache/logs/futurewebspace.com-error.log
CustomLog D:/apache/logs/futurewebspace.com-access.log combined

AddType text/html .shtml
AddHandler server-parsed .shtml
<IfModule mod_php4.c>
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
</IfModule>
AddHandler cgi-script .cgi
ScriptAlias /cgi-bin "htdocs/www/personal/futurewebspace.com"

<DIRECTORY htdocs/www/personal/futurewebspace.com>
OPTIONS Indexes Includes ExecCGI FollowSymLinks
AllowOverride All
</DIRECTORY>
IndexOptions FancyIndexing
</VirtualHost>


the above is one of about 25 virtualhost containers within my conf (non ssl)
I have a few questions about it.. one where am I going wrong when it comes to being able to have a wild card style domain where if someone types ___.futurewebspace.com the goto the main site itself unless otherwise specified in a .htaccess file? cause what im getting thus far is unless i type the www. in front of the domain i get an error page cant have http://futurewebspace.com cant have http://www2.futurewebspace.com must have www.futurewebspace.com or the site will not load.


next is that set accordingly to support a .htaccess file for the rewrite to be able to slap a .httaccess file into the root directory or any sub directory of a particular root folder for the vhost..

and lastly did this is the first attempt im making to have each domain have its own cgi bin, did i do that right? cause I dont want a shared bin for all to dig through I want one in the root directory of every vhost i specify..
View user's profileSend private messageAIM AddressYahoo Messenger
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT