httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Perl-script, UserDir and Internal Server Error
Date Wed, 14 May 2003 11:41:21 GMT
>-----Original Message-----
>From: Leander Jedamus [mailto:jedamus@Fh-Worms.de]
>
>Can the error come from not configuring suexec properly?

I guess I should've asked if you were using suexec... Certainly you will have problmes with
CGIs if it is not configured properly.

To remove it from the equation, do "httpd -l" to find where your suexec wrapper is (e.g. /home/apache/bin/suexec)
and then remove its execute privilege, i.e. "chmod -x /home/apache/bin/suexec". Then try your
CGi again.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 
 
>
>>
>> To what does <Directory /home/*/cgi-bin> expand to?
>> Is it really /home/bwl/jedamus/Publicite/cgi-bin ?
>>
>> Am Montag, 12. Mai 2003 17:09 schrieb Boyle Owen:
>> > >-----Original Message-----
>> >
>> > From: Leander Jedamus [mailto:jedamus@Fh-Worms.de]
>> >
>> > >/~jedamus/cgi-bin/HelloWorld.pl says Internal Server Error,
>> > >from command line it says:
>> > >Content-type: text/html
>> > >
>> > >Hello World!
>> >
>> > And yet /cgi-bin/HelloWorld.pl works? That's really 
>weird... I've run out
>> > of ideas. Sorry.
>> >
>> > Rgds,
>> > Owen Boyle
>> > Disclaimer: Any disclaimer attached to this message may be ignored.
>> >
>> > >> Rgds,
>> > >> Owen Boyle
>> > >> Disclaimer: Any disclaimer attached to this message may 
>be ignored.
>> > >>
>> > >> >Thanks,
>> > >> >Leander Jedamus
>> > >> >
>> > >> >> Rgds,
>> > >> >> Owen Boyle
>> > >> >> Disclaimer: Any disclaimer attached to this message may
>> > >
>> > >be ignored.
>> > >
>> > >> >> >Thanks,
>> > >> >> >Leander Jedamus
>> > >> >> >
>> > >> >> >> Rgds,
>> > >> >> >> Owen Boyle
>> > >> >> >> Disclaimer: Any disclaimer attached to this message
may
>> > >> >
>> > >> >be ignored.
>> > >> >
>> > >> >> >> >The Rights for user jedamus in the directory
>> > >> >> >> >/home/bwl/jedamus/Publicite/cgi-bin
>> > >> >> >> >are:
>> > >> >> >> >drwx--x--x   2 jedamus  student      512 May
 5 16:42 .
>> > >> >> >> >drwxr-xr-x   5 jedamus  student     2048 May
 5 16:32 ..
>> > >> >> >> >-rwxr-xr-x   1 jedamus  student    11425 May
 5 
>16:20 xxx.pl
>> > >> >> >> >
>> > >> >> >> >I can execute this script as user apache (which

>is the uid for
>> > >> >> >> >the httpd) in the console, not from 
>/~jedamus/cgi-bin/xxx.pl.
>> > >> >> >> >
>> > >> >> >> >Here the interesting parts from httpd.conf:
>> > >> >> >> 
>>----8<----8<----8<----8<----8<----8<----8<----8<----8<----
>> > >> >> >> >DocumentRoot "/export/www/WORMS/doc"
>> > >> >> >> >...
>> > >> >> >> ><Directory />
>> > >> >> >> >    AddHandler server-parsed .html
>> > >> >> >> >    Options FollowSymLinks
>> > >> >> >> >    AllowOverride All
>> > >> >> >> ></Directory>
>> > >> >> >> >...
>> > >> >> >> ><Directory "/export/www/WORMS/doc">
>> > >> >> >> >    AddHandler server-parsed .html
>> > >> >> >> >    Options Indexes FollowSymLinks MultiViews
+Includes
>> > >> >> >> >    AllowOverride All
>> > >> >> >> >    Order allow,deny
>> > >> >> >> >    Allow from all
>> > >> >> >> ></Directory>
>> > >> >> >> >...
>> > >> >> >> ><Directory /home>
>> > >> >> >> >    Options ExecCGI FollowSymLinks
>> > >> >> >> >    AllowOverride All
>> > >> >> >> ></Directory>
>> > >> >> >> >...
>> > >> >> >> >UserDir Publicite
>> > >> >> >> >...
>> > >> >> >> ><Directory /home/*/cgi-bin>
>> > >> >> >> >  Options ExecCGI
>> > >> >> >> >  SetHandler cgi-script
>> > >> >> >> ></Directory>
>> > >> >> >> >...
>> > >> >> >> >ScriptAlias /cgi-bin/ "/export/www/WORMS/cgi-bin/"
>> > >> >> >> >    <Directory "/export/www/WORMS/cgi-bin">
>> > >> >> >> >        AllowOverride None
>> > >> >> >> >        Options ExecCGI FollowSymLinks
>> > >> >> >> >        Order allow,deny
>> > >> >> >> >        Allow from all
>> > >> >> >> >    </Directory>
>> > >> >> >> >...
>> > >> >> >> >AddHandler cgi-script .cgi .pl .sh
>> > >> >> >> 
>>----8<----8<----8<----8<----8<----8<----8<----8<----8<----
>> > >> >> >> >
>> > >> >> >> >
>> > >> >> >> >Can anybody help me, please?
>> > >> >> >> >
>> > >> >> >> >Thanks in advance
>> > >> >> >> >Leander Jedamus
>> > >> >> >> >
>> > >> >> >> >--
>> > >> >> >> >Leander Jedamus
>> > >> >> >> >Presse- und Öffentlichkeitsarbeit
>> > >> >> >> >FH Worms
>> > >> >> >> >Erenburger Str. 19
>> > >> >> >> >67549 Worms
>> > >> >> >> >+49 6241 509-172
>> > >>>>
>> > >>>>------------------------------------------------------------
>> > >
>> > >---------
>> > >
>> > >> >> >> >The official User-To-User support forum of the

>Apache HTTP
>> > >> >> >> >Server Project.
>> > >> >> >> >See <URL:http://httpd.apache.org/userslist.html>
for
>> > >
>> > >more info.
>> > >
>> > >> >> >> >To unsubscribe, e-mail: 
>users-unsubscribe@httpd.apache.org
>> > >> >> >> >   "   from the digest:
>> > >
>> > >users-digest-unsubscribe@httpd.apache.org
>> > >
>> > >> >> >> >For additional commands, e-mail: 
>users-help@httpd.apache.org
>> > >> >> >>
>> > >> >> >> This message is for the named person's use only.

>It may contain
>> > >> >> >> confidential, proprietary or legally privileged 
>information. No
>> > >> >> >> confidentiality or privilege is waived or lost by
any
>> > >> >> >
>> > >> >> >mistransmission.
>> > >> >> >
>> > >> >> >> If you receive this message in error, please notify
the
>> > >> >> >
>> > >> >> >sender urgently
>> > >> >> >
>> > >> >> >> and then immediately delete the message and any 
>copies of it
>> > >> >> >
>> > >> >> >from your
>> > >> >> >
>> > >> >> >> system. Please also immediately destroy any hardcopies
of
>> > >> >> >
>> > >> >> >the message.
>> > >> >> >
>> > >> >> >> You must not, directly or indirectly, use, disclose,
>> > >> >> >
>> > >> >> >distribute, print,
>> > >> >> >
>> > >> >> >> or copy any part of this message if you are not 
>the intended
>> > >> >> >
>> > >> >> >recipient.
>> > >> >> >
>> > >> >> >> The sender's company reserves the right to 
>monitor all e-mail
>> > >> >> >> communications through their networks. Any views
>> > >
>> > >expressed in this
>> > >
>> > >> >> >> message are those of the individual sender, except
where
>> > >> >
>> > >> >the message
>> > >> >
>> > >> >> >> states otherwise and the sender is authorised to
state
>> > >> >
>> > >> >them to be the
>> > >> >
>> > >> >> >> views of the sender's company.
>> > >>
>> > 
>>>---------------------------------------------------------------------
>> > >>
>> > >> >> >> The official User-To-User support forum of the Apache
HTTP
>> > >> >> >
>> > >> >> >Server Project.
>> > >> >> >
>> > >> >> >> See <URL:http://httpd.apache.org/userslist.html>

>for more info.
>> > >> >> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> > >> >> >>    "   from the digest:
>> > >
>> > >users-digest-unsubscribe@httpd.apache.org
>> > >
>> > >> >> >> For additional commands, e-mail: 
>users-help@httpd.apache.org
>> > >> >> >
>> > >> >> >--
>> > >> >> >Leander Jedamus
>> > >> >> >Presse- und Öffentlichkeitsarbeit
>> > >> >> >FH Worms
>> > >> >> >Erenburger Str. 19
>> > >> >> >67549 Worms
>> > >> >> >+49 6241 509-172
>> > >>>
>> > 
>>>>------------------------------------------------------------
>---------
>> > >>>
>> > >> >> >The official User-To-User support forum of the Apache
HTTP
>> > >> >> >Server Project.
>> > >> >> >See <URL:http://httpd.apache.org/userslist.html>

>for more info.
>> > >> >> >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> > >> >> >   "   from the digest: 
>users-digest-unsubscribe@httpd.apache.org
>> > >> >> >For additional commands, e-mail: users-help@httpd.apache.org
>> > >
>> > 
>>---------------------------------------------------------------------
>> > >
>> > >> >> The official User-To-User support forum of the Apache HTTP
>> > >> >
>> > >> >Server Project.
>> > >> >
>> > >> >> See <URL:http://httpd.apache.org/userslist.html> for

>more info.
>> > >> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> > >> >>    "   from the digest: 
>users-digest-unsubscribe@httpd.apache.org
>> > >> >> For additional commands, e-mail: users-help@httpd.apache.org
>> > >> >
>> > >> >--
>> > >> >Leander Jedamus
>> > >> >Presse- und Öffentlichkeitsarbeit
>> > >> >FH Worms
>> > >> >Erenburger Str. 19
>> > >> >67549 Worms
>> > >> >+49 6241 509-172
>> > >>
>> > 
>>>---------------------------------------------------------------------
>> > >>
>> > >> >The official User-To-User support forum of the Apache HTTP
>> > >> >Server Project.
>> > >> >See <URL:http://httpd.apache.org/userslist.html> for more
info.
>> > >> >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> > >> >   "   from the digest: 
>users-digest-unsubscribe@httpd.apache.org
>> > >> >For additional commands, e-mail: users-help@httpd.apache.org
>> > >>
>> > >> 
>---------------------------------------------------------------------
>> > >> The official User-To-User support forum of the Apache HTTP
>> > >
>> > >Server Project.
>> > >
>> > >> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> > >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> > >>    "   from the digest: 
>users-digest-unsubscribe@httpd.apache.org
>> > >> For additional commands, e-mail: users-help@httpd.apache.org
>> > >
>> > >--
>> > >Leander Jedamus
>> > >Presse- und Öffentlichkeitsarbeit
>> > >FH Worms
>> > >Erenburger Str. 19
>> > >67549 Worms
>> > >+49 6241 509-172
>> > >
>> > 
>>---------------------------------------------------------------------
>> > >The official User-To-User support forum of the Apache HTTP
>> > >Server Project.
>> > >See <URL:http://httpd.apache.org/userslist.html> for more info.
>> > >To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> > >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> > >For additional commands, e-mail: users-help@httpd.apache.org
>> >
>> > 
>---------------------------------------------------------------------
>> > The official User-To-User support forum of the Apache HTTP Server
>> > Project. See <URL:http://httpd.apache.org/userslist.html> 
>for more info.
>> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> > For additional commands, e-mail: users-help@httpd.apache.org
>
>-- 
>Leander Jedamus
>Presse- und Öffentlichkeitsarbeit
>FH Worms
>Erenburger Str. 19
>67549 Worms
>+49 6241 509-172
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message