Nevermind, I figured it my problem. I needed to set:
AddHandler cgi-script .cgi
Now everything works perfectly, thanks!
- Jeremy
Jeremy Gillick wrote:
Oh, wait! I think I have it!
NameVirtualHost *:80
<VirtualHost *:80>
</VirtualHost>
<VirtualHost viewvc:80>
DocumentRoot "/usr/local/viewvc-1.1-dev/bin/cgi"
<Directory />
Options Indexes FollowSymLinks ExecCGI
DirectoryIndex viewvc.cgi
</Directory>
RewriteEngine on
RewriteRule ^(.*)$ /viewvc.cgi$1
</VirtualHost>
Actually, when I try to do exactly what your example shows (without the
rewrites), it just prints the content of viewvc.cgi. Doe you have a
ScriptAlias directive setup anywhere? When I add a ScriptAlias and give
it the same value as DocumentRoot, I get a Forbidden Error.
When I add the rewrites I get a 404 Not Found error.
Thanks,
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxxx
|
|