[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] RAQ4 cgi problem
- Subject: Re: [cobalt-developers] RAQ4 cgi problem
- From: Atif Ghaffar <atif@xxxxxxxxx>
- Date: Tue Dec 19 20:42:00 2000
- Organization: 4unet AG/SA
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
GlobalNET Media wrote:
>
> Hi,
>
> Ok, assuming this is the virtual I need to change,
> What changes do I make?
>
> <VirtualHost 209.126.162.240>
> ServerName www.gnm.ca
> ServerAdmin admin
> DocumentRoot /home/sites/site33/web
> ServerAlias gnm.ca
> RewriteEngine on
> RewriteCond %{HTTP_HOST} !^209.126.162.240(:80)?$
> RewriteCond %{HTTP_HOST} !^www.gnm.ca(:80)?$
> RewriteRule ^/(.*) http://www.gnm.ca/$1 [L,R]
> RewriteOptions inherit
> AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site33/users/$1/web/$3
> AddHandler cgi-wrapper .cgi
> AddHandler cgi-wrapper .pl
> AddHandler server-parsed .shtml
> AddType text/html .shtml
#Either
ScriptAlias /cgi-bin/ /home/sites/site33/web/cgi-bin/
#OR
<FilesMatch /cgi-bin/>
Options +ExecCGI
SetHandler cgi-script
</FilesMatch>
#OR
<Directory /home/sites/site33/web/cgi-bin/>
Options +ExecCGI
SetHandler cgi-script>
</Directory>
> </VirtualHost>
>
> I would need to restart Apache after this right?
Yes you will
>
> Thank you so much again for all your help.
You are welcome
>
> Mike
--
Atif Ghaffar
Internet Development Manager
4unet AG/SA
-------------------------.
+41 78 787 51 45 ¦ voice
+41 24 441 09 03 ¦ fax
http://www.4unet.net ¦ www
http://atif.developer.ch ¦ homepage
atif.ghaffar@xxxxxxxxx ¦ email
Do you speak Unix?