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] Can't run cgi scripts on mounted fat partition
Date Tue, 26 Apr 2005 08:40:59 GMT
> -----Original Message-----
> From: Peter Sykora [mailto:peter_sykora@gmx.at]
> Sent: Dienstag, 26. April 2005 10:23
> To: users@httpd.apache.org
> Subject: [users@httpd] Can't run cgi scripts on mounted fat partition
> 
> 
> Hello,
> I run Apache/2.0.53 under SUSE Linux 9.3 having the following problem:
> 
> When I try to make a script alias to a directory on a mounted fat 
> partition I always get the following error:
> [Tue Apr 26 09:21:01 2005] [error] [client 127.0.0.1] (13)Keine 
> Berechtigung: exec of 
> '/windows/D/home/html/canyon_new2/cgi/env.pl' failed

Can you execute the path above at the command line?

Does the script try to write anything to the windows partition?

I seem to recall that linux cannot write to certain windows file-system types. I thought it
was NTFS... but maybe it is VFAT as well... Check on a linux forum.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> (Keine Berechtigung ~ permission denied)
> 
> Using the same script on my linux home cgi-directory where apache is 
> installed, everything works fine.
> 
> Here are the related parts of my config file:
> 
> # Setting the document root to a directory on the fat 
> partition (which 
> works fine)
> DocumentRoot /windows/D/home/html
> 
> # The script alias and directory settings of my home cgi-directory, 
> which works fine as well
> ScriptAlias /cgi-bin/ "/home/psykora/cgi-bin/"
> <Directory "/home/psykora/cgi-bin/">
>  Options None AllowOverride None
>  Order allow,deny
>  Allow from all
> </Directory>
> 
> # The script alias and directory settings of the cgi directory on the 
> fat partition which doesn't work
> ScriptAlias /cgi-canyon/ "/windows/D/home/html/canyon_new2/cgi/"
> <Directory "/windows/D/home/html/canyon_new2/cgi/">
>  Options None AllowOverride None
>  Order allow,deny
>  Allow from all
> </Directory>
> 
> I also tried some other directory options like:
> - AddHandler cgi-script .cgi .pl
> - Options +ExecCGI
> 
> The fstab entry of my fat partition is:
> /dev/hda5            /windows/D           vfat       
> users,gid=users,umask=0000      0 0
> 
> and I have also checked the permissions of /windows/D which are
> drwxrwxrwx  17 root users 32768 1970-01-01 01:00 D
> So all files and directories on this partition should be 
> executable as well.
> 
> I can't see a reason why apache replies with a permission 
> denied. Does 
> anybody have an idea.
> Thanks for any hints
> Peter
> 
> ---------------------------------------------------------------------
> 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
> 
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen-
bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature.
It is not related to the exchange or business activities of the SWX Group. Le présent e-mail
est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
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


Mime
View raw message