l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
January 6: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2002 Apr 24 10:13

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
RE: [vox-tech] Apache error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [vox-tech] Apache error



Ok, obviously I cannot explain my problems correctly, sorry " mea culpa"

Mike sorry to misled you 

>   make merged.htm a symlink to the actual file not the subdir 
> and things would be slightly better.

It is a symlink to the actual file (see first line on this message)

> what do you have in your ScriptAlias setting for apache...

# The InterPro specific requirements are as follows

ScriptAlias /iprs-bin/  "/var/www/html/iprs-bin/"
AddHandler cgi-script  .pl
<Directory "/var/www/html/iprs-bin">
    AllowOverride ALL
    Options None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

ScriptAlias /iprs_tmp/  "/var/www/html/iprs_tmp/"
AddHandler cgi-script  .pl
<Directory "/var/www/html/iprs_tmp">
    AllowOverride ALL
    Options None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

And on the Directory section at the en of the httpd.conf file I have:

<Directory "/var/www/html/iprs-bin">
Options ExecCGI FollowSymLinks
AllowOverride None
Allow from from all
Order allow,deny
</Directory>

<Directory "/var/www/html/iprs_tmp">
Options ExecCGI FollowSymLinks
AllowOverride None
Allow from from all
Order allow,deny
</Directory>


TIA!
Alfredo



> -----Original Message-----
> From: msimons@moria.simons-clan.com 
> [mailto:msimons@moria.simons-clan.com] 
> Sent: Tuesday, April 23, 2002 7:14 PM
> To: vox-tech@lists.lugod.org
> Subject: Re: [vox-tech] Apache error
> 
> 
> On Tue, Apr 23, 2002 at 06:58:19PM -0700, ALLO (Alfredo Lopez) wrote:
> > [Tue Apr 23 16:25:09 2002] [error] (13)Permission denied: exec of
> > /var/www/html/iprs_tmp/nobody_23-Apr-2002_7042/merged.htm failed
> > [Tue Apr 23 16:25:09 2002] [error] [client 152.73.207.250] 
> Premature end of 
> > script headers: 
> /var/www/html/iprs_tmp/nobody_23-Apr-2002_7042/merged.htm
> > 
> > iprs_tmp points to "/usr/local/iprscan/tmp"
> > I know that iprs_tmp directory is public and has permisions 
> to execute CGI's
> > and FollowSymLinks.  "tmp"  is also public.
> > The "merged.htm" is actually a symlink to a subdir where 
> the real merged.htm
> > page resides.
> 
> Alfredo,
> 
>   make merged.htm a symlink to the actual file not the subdir 
> and things would be slightly better.
>   You may be able to make nobody_23-Apr-2002_7042 a link to 
> the real directory where the files are...
> 
> > Everything in the servers works fine but this page that 
> displays the 
> > "Final Result" of a search Arggggggg!! So close yet so far.
> > 
> > Does anybody know what is error 13 and where can I start looking in 
> > order to fix it.
> 
>   Apache is trying to execute a directory, for some reason 
> apache is trying to run things than end in "htm"... what do 
> you have in your ScriptAlias setting for apache... it sounds 
> like the place where you have the .htm file is inside one of them.
>   Is the real .htm file something you want executed or not?
> 
> 
> from Debian apache config files...
> # 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/ /usr/lib/cgi-bin/ 
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org 
> http://lists.lugod.org/mailman/listinfo/vox-> tech
> 
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.