Op 15/04/2011 17:04, Wagner Pereira schreef:
Hi, folks.
In my first attempt to install Bweb in my Debian server, I was unsuccessful.
All the Google tutorials propose to create the bweb directory under
/usr/lib/cgi-bin, but this directory doesn't exist in my server.
Even though, I tried to do that under other directory: /usr/local, but
it didn't work.
Can someone guide me through?
Att,
Technically you can install it in any folder you want, as long as
that folder is marked as your cgi folder in the apache (httpd)
config.
For some distros it might be /usr/lib/cgi-bin, for others it is
/var/www/cgi-bin.
I recommend you try to find what the standard is on debian, or
adjust your config to find the directory you're putting it in.
Relevant part of the config should look like this:
(config is /etc/httpd/conf/httpd.conf, at least on RHEL)
#
# ScriptAlias: This controls which directories contain server
scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications
and
# run by the server when requested rather than as documents sent to
the client.
# The same rules about trailing "/" apply to ScriptAlias directives
as to
# Alias.
#
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
#
# "/var/www/cgi-bin" should be changed to whatever your
ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
The same goes for the actual "website" files. Standard on most
systems is /var/www/html.
Defined in the config like DocumentRoot "/var/www/html".
Regards,
Jeremy
**** DISCLAIMER **** http://www.schaubroeck.be/maildisclaimer.htm
|
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|