httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jurgen <apa...@squarehosting.com>
Subject Re: [users@httpd] .htaccess => .cgi => forbidden / START-CGI
Date Thu, 16 Jan 2003 16:58:10 GMT
Hi,

how about redirecting?

Jurgen

On Thu, 16 Jan 2003 13:47:56 +0100
"Harald Wopenka" <hwopenka@spar.at> wrote:

> Yeah, I guess so.
> 
> But maybe you can help me with a workaround. - My initial wish is to start a
> cgi-script instead of the index.html when someone accesses my site. On
> another Server, where I am able to edit httpd.conf I simply added index.cgi
> to the directory-index and added the needed parameters.
> 
> I tried to use DirectoryIndex /cgi-bin/go.pl - which worked fine, but did
> also change the behavior with subdirs.
> 
> When I access www.mypage.xxx it startet my go.pl - when I access
> www.mypage.xxx/subdir it does also start go.pl and passes /subdir/ through a
> variable to it. I'm a bit confused because there is no .htaccess in subdir.
> In my opinion it should present www.mypage.xxx/subdir/index.html.
> 
> All I need is to call a cgi-script when someone browses to my rootpage.
> Other subdirs should not be affected. There must be a way through .htaccess
> 
> Thanks in advance
> Harry
> 
> 
> 
> ----- Original Message -----
> From: "Jurgen" <apache@squarehosting.com>
> To: <users@httpd.apache.org>
> Sent: Thursday, January 16, 2003 11:57 AM
> Subject: Re: [users@httpd] .htaccess => .cgi => forbidden
> 
> 
> > Hi,
> >
> > it is not because of the cgi file. It is because the directory you place
> the cgi file in isn't allowed to execute cgi scripts. Options ExecCGI in
> .htaccess can change that, but it has to be permitted from httpd.conf. So I
> guess it is not.
> >
> > Jurgen
> >
> >
> > On Thu, 16 Jan 2003 11:36:52 +0100
> > "Harald Wopenka" <hwopenka@spar.at> wrote:
> >
> > > Re,
> > >
> > > where else should I put it? "Options ExecCGI" alone does not work - and
> I've
> > > no access to httpd.conf. My only possibility is to use .htaccess. I have
> > > kind of a feeling that my provider does not allow me to do this.
> > > .htaccess-Files work in general - maybe he just prohibits .cgi-Files. Is
> > > this possible?
> > >
> > > Harry
> > >
> > >
> > > ----- Original Message -----
> > > From: "Jurgen" <apache@squarehosting.com>
> > > To: <users@httpd.apache.org>
> > > Sent: Thursday, January 16, 2003 11:40 AM
> > > Subject: Re: [users@httpd] .htaccess => .cgi => forbidden
> > >
> > >
> > > > Hi,
> > > >
> > > > don't put the "AllowOverride" in .htaccess.
> > > >
> > > > Jurgen
> > > >
> > > >
> > > > On Thu, 16 Jan 2003 11:29:51 +0100
> > > > "Harald Wopenka" <hwopenka@spar.at> wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > thanks, - but it didn't work.
> > > > >
> > > > > Options ExecCGI
> > > > > AllowOverride Options
> > > > >
> > > > > or
> > > > >
> > > > > Options ExecCGI
> > > > > AllowOverride All
> > > > >
> > > > > Both brought up an "Internal Server Error". :(
> > > > >
> > > > > Harry
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Jurgen" <apache@squarehosting.com>
> > > > > To: <users@httpd.apache.org>
> > > > > Sent: Thursday, January 16, 2003 11:05 AM
> > > > > Subject: Re: [users@httpd] .htaccess => .cgi => forbidden
> > > > >
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > place
> > > > > > Options ExecCGI
> > > > > > into the .htaccess file. If it still doesn't work you need
> > > AllowOverride
> > > > > Options in the virtualhost configuration.
> > > > > >
> > > > > > Jurgen
> > > > > >
> > > > > >
> > > > > > On Thu, 16 Jan 2003 10:05:34 +0100
> > > > > > "Harald Wopenka" <hwopenka@spar.at> wrote:
> > > > > >
> > > > > > > Hi all!
> > > > > > > What do I have to put into my .htaccess to make apache
running
> my
> > > .cgi
> > > > > > > (perl-scripts) outside cgi-bin? At the moment I get "Forbidden"
> when
> > > I
> > > > > > > browse to a .cgi...
> > > > > > > Thanks in advance,
> > > > > > > Harry
> > > > > > > PS: I don't have access to httpd.conf
> > > > > > >
> > > > > > >
> > > > > >
> > > > ---------------------------------------------------------------------
> > > > > > > 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
> > > > > >
> > > > >
> > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > 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
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
> 
> 
> ---------------------------------------------------------------------
> 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