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
[EMAIL PROTECTED] � email
Do you speak Unix?
_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers