De remarcat este faptul ca daca comentez linia: SuexecUserGroup postgres users din virtualhost, acesta merge !
(adica scap de msajul de eroare: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ---------------------------------------------------------------------------- ---- Apache/2.0.46 (Unix) Server at 192.168.1.135 Port 80 ) > Revin! > Incerc sa pun Apache_ul cu modulul suEXEC. > > Am recompilat apache_ul (httpd-2.0.46) cu urmatorul script: > > #!/bin/sh > > pre=/usr/local/apache > ./configure --prefix=$pre \ > --enable-suexec \ > --with-suexec-caller=nobody \ > --with-suexec-userdir=cgi-bin \ > --with-suexec-docroot=/xxx \ > --with-suexec-logfile=$pre/logs/suexec_log \ > --with-suexec-uidmin=500 \ > --with-suexec-gidmin=100 \ > --with-suexec-safepath="/bin:/usr/bin:/usr/local/jdk" > make > make install > > > in urma compilarii am urmatoarele module instalate: > #/usr/local/apache/bin/httpd -l > > Compiled in modules: > core.c > mod_access.c > mod_auth.c > mod_include.c > mod_log_config.c > mod_env.c > mod_setenvif.c > prefork.c > http_core.c > mod_mime.c > mod_status.c > mod_autoindex.c > mod_asis.c > mod_suexec.c > mod_cgi.c > mod_negotiation.c > mod_dir.c > mod_imap.c > mod_actions.c > mod_userdir.c > mod_alias.c > mod_so.c > > Am creat directoarele: > /xxx/postgres 755 postgres users > /xxx/postgres/public_html 755 postgres users > /xxx/postgres/cgi-bin 755 postgres users > > in httpd.conf am adaugat la sfarit: > > <VirtualHost *> > ServerName www.servsal1 > DocumentRoot /xxx/postgres/public_html > ScriptAlias /cgi-bin/ /xxx/postgres/cgi-bin/ > SuexecUserGroup postgres users > </VirtualHost> > > in /usr/local/apache/logs/error_log apare: > [Tue Jun 24 14:48:13 2003] [notice] suEXEC mechanism enabled (wrapper: > /usr/local/apache/bin/suexec) > (adica zic eu ca porneste cu modulul suEXEC activat) > > Nu vrea sa ruleze scripturile CGI din /xxx/postgres/cgi-bin > Unde-i buleaua? > > > > > >
