Author Topic: CGI Script  (Read 2039 times)

yokobr

  • Zen Apprentice
  • *
  • Posts: 38
  • Karma: +1/-0
    • View Profile
CGI Script
« on: August 29, 2011, 02:45:33 pm »
Hi everybody,

I'm trying to run a virtual web domain with a cgi script, but if i change /etc/apache2/sites-avaliable/ebox-domainame file, it auto-resets my config when i restart webserver module.. But without that config i get

Quote
Not Found

The requested URL /cgi-bin/wxis was not found on this server.

So, please, how can i make that file?

mine should look like this

Quote
<VirtualHost *:80>
   DocumentRoot /srv/www/domain.org.br
   <Directory /srv/www/sindifes.org.br>
      Options Indexes FollowSymLinks MultiViews
      AllowOverride None
      Order allow,deny
      allow from all
   </Directory>

   ScriptAlias /cgi-bin/ /srv/www/domain.com.br/sindifes/biblioteca/cgi-bin/
   <Directory "/srv/www/domain.com.br/sindifes/biblioteca/cgi-bin/">
      AllowOverride None
      Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
      Order allow,deny
      Allow from all
   </Directory>
</VirtualHost>


christian

  • Guest
Re: CGI Script
« Reply #1 on: August 29, 2011, 03:12:03 pm »
Did you look at this:
http://trac.zentyal.org/wiki/Documentation/Community/HowTo/CustomizeConfigFiles

It shows:
- that you need to update "*.mas" files
- Hook is available to make you changes "persistent"

Does it help?