logo       


Re: Hiding viewvc.cgi from the user: msg#00056

Subject: Re: Hiding viewvc.cgi from the user
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



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe