[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] RaQ4 FrontPage httpd.conf
- Subject: RE: [cobalt-users] RaQ4 FrontPage httpd.conf
- From: "Dan Kriwitsky" <list1@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu Sep 26 23:04:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Thanks for replying.
>
> As far as I recall, nothing is added to httpd.conf for
> the main FP Web. All that's required is this in
> access.conf:
>
> <Directory /home/sites/sitexx>
> AllowOverride All
> Options All
> </Directory>
OK, that's there in access.conf.
>
> When subwebs are included they look like this in
> httpd.conf:
>
> ScriptAlias /~user/_vti_bin/_vti_adm/
> /home/sites/sitexx/users/user/web/_vti_bin/_vti_adm/
> ScriptAlias /~user/_vti_bin/_vti_aut/
> /home/sites/sitexx/users/user/web/_vti_bin/_vti_aut/
> ScriptAlias /~user/_vti_bin/
> /home/sites/sitexx/users/user/web/_vti_bin/
> AliasMatch ^/~([^/]+)(/(.*))?
> /home/sites/sitexx/users/$1/web/$3
> </VirtualHost>
>
I didn't add any user subweb to the site. Just enabled FP extensions for
the virtual site and was concerned that there are no ScriptAlias
directives. I was having problems getting the FrontPage "include"
component to work and didn't know if that was the problem. Here's what
it looks like:
<VirtualHost 111.111.111.111>
ServerName test.domain.com
ServerAdmin admin
DocumentRoot /home/sites/siteXX/web
RewriteEngine on
RewriteCond %{HTTP_HOST} !^111.111.111.111(:80)?$
RewriteCond %{HTTP_HOST} !^test.domain.com(:80)?$
RewriteRule ^/(.*) http://test.domain.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/siteXX/users/$1/web/$3
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType text/html .shtml
</VirtualHost>
If I open the site live in FP, I can have it include content that shows
up fine in the FP edit and Preview. But viewing the site, I don't see
the included content.
I had an old copy locally of httpd.conf I think that was from my old
RaQ2:
It had these lines and I didn't know if the lack of those was a problem,
but I'm guessing they were part of FP98 extensions on the RaQ2:
ScriptAlias /_vti_bin/_vti_adm/
/home/sites/site39/web/_vti_bin/_vti_adm/
ScriptAlias /_vti_bin/_vti_aut/
/home/sites/site39/web/_vti_bin/_vti_aut/
ScriptAlias /_vti_bin/ /home/sites/site39/web/_vti_bin/
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site39/users/$1/web/$3
--
Dan Kriwitsky
Please reply to the list only. Offlist replies are not read.