[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Help RAQ 550 lost /etc/httpd/conf/vhosts/site1




Franklin LECOINTRE wrote:
Hello, can you help me please.
I don't know what has occured but I do not have the site1 file witch
manage the administrator web site of my RAQ 550.
Can some body send me that fil please.


here's the content of mine, you should indeed try to let the system recreate it by fiddling around int he gui, if all else fails: BE SURE to edit it to correctly represent your info; use @ your own risk !



# owned by VirtualHost
NameVirtualHost 207.46.134.155

# FrontPage needs the following four things to be here
# otherwise all the vhosts need to go in httpd.conf, which could
# get very large since there could be thousands of vhosts
Port 80
ServerRoot /etc/httpd
ResourceConfig /etc/httpd/conf/srm.conf
AccessConfig /etc/httpd/conf/access.conf

<VirtualHost 207.46.134.155>
ServerName www.microsoft.com
ServerAdmin bgates
DocumentRoot /home/.sites/28/site1/web
ErrorDocument 401 /error/401-authorization.html
ErrorDocument 403 /error/403-forbidden.html
ErrorDocument 404 /error/404-file-not-found.html
ErrorDocument 500 /error/500-internal-server-error.html
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^207.46.134.155(:80)?$
RewriteCond %{HTTP_HOST}                !^www.microsoft.com(:80)?$ [NC]
RewriteRule ^/(.*)                    http://www.microsoft.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/.sites/28/site1/users/$1/web/$3
# BEGIN WebScripting SECTION.  DO NOT EDIT MARKS OR IN BETWEEN.
# END WebScripting SECTION.  DO NOT EDIT MARKS OR IN BETWEEN.
AddHandler chiliasp .asp
AddHandler chiliasp .asa
</VirtualHost>

# FrontPage needs the following block in order to be able to use SSL on
# this virtual host.  Note: If this block occurs below the Port80
# block, then the automatic Perl configuration in ../httpd.conf fails.
<IfDefine FrontPageSSLRequirements>
Port 443
 <VirtualHost 207.46.134.155:443>
ServerName www.microsoft.com
DocumentRoot /home/.sites/28/site1/web
SSLEngine on
AddHandler chiliasp .asp
AddHandler chiliasp .asa
 </VirtualHost>
</IfDefine>
# end of VirtualHost owned section