Re: [EMAIL PROTECTED] DirectoryIndex including index.cgi with CGI PATH_INFO

2008-11-11 Thread Tom Evans
On Tue, 2008-11-11 at 13:24 +0100, Jan Sievers wrote: > Hi everyone, > > I can't find a clear statement in the Apache 2.2 documentation about the > following scenario: > > I have the following configuration for index files: > > DirectoryIndex index.cgi > > > The request > > domain

[EMAIL PROTECTED] DirectoryIndex including index.cgi with CGI PATH_INFO

2008-11-11 Thread Jan Sievers
Hi everyone, I can't find a clear statement in the Apache 2.2 documentation about the following scenario: I have the following configuration for index files: DirectoryIndex index.cgi The request domain.tld/dir_containing_index_cgi/ works as expected. Now, since CGI defines t

Re: [EMAIL PROTECTED] DirectoryIndex reset ?

2008-10-19 Thread William A. Rowe, Jr.
Sascha Kersken wrote: > Hey all, > > Eric Covener schrieb: >>> >>> Suggestion : >>> DirectoryIndex disable (or none) >>> >> >> committed to trunk in http://svn.apache.org/viewvc?rev=706001&view=rev >> and proposed for backport to 2.2.x -- potential hitch in breaking >> existing "DirectoryInde

Re: [EMAIL PROTECTED] DirectoryIndex reset ?

2008-10-19 Thread André Warnier
Sascha Kersken wrote: Hey all, Eric Covener schrieb: Suggestion : DirectoryIndex disable (or none) committed to trunk in http://svn.apache.org/viewvc?rev=706001&view=rev and proposed for backport to 2.2.x -- potential hitch in breaking existing "DirectoryIndex none". Ehm, good idea

Re: [EMAIL PROTECTED] DirectoryIndex reset ?

2008-10-19 Thread André Warnier
Eric Covener wrote: On Sun, Oct 19, 2008 at 7:24 AM, André Warnier <[EMAIL PROTECTED]> wrote: Hi. I have a suggestion regarding the DirectoryIndex directive (Apache 2.2.x). Do I have to register etc.. somewhere, or can I just submit it here ? Note that this may also just be a documentation is

Re: [EMAIL PROTECTED] DirectoryIndex reset ?

2008-10-19 Thread Eric Covener
On Sun, Oct 19, 2008 at 11:21 AM, Sascha Kersken <[EMAIL PROTECTED]> wrote: > Hey all, > > Eric Covener schrieb: >>> >>> Suggestion : >>> DirectoryIndex disable (or none) >>> >> >> committed to trunk in http://svn.apache.org/viewvc?rev=706001&view=rev >> and proposed for backport to 2.2.x -- potent

Re: [EMAIL PROTECTED] DirectoryIndex reset ?

2008-10-19 Thread Sascha Kersken
Hey all, Eric Covener schrieb: Suggestion : DirectoryIndex disable (or none) committed to trunk in http://svn.apache.org/viewvc?rev=706001&view=rev and proposed for backport to 2.2.x -- potential hitch in breaking existing "DirectoryIndex none". Ehm, good idea -- but what if I happe

Re: [EMAIL PROTECTED] DirectoryIndex reset ?

2008-10-19 Thread Eric Covener
On Sun, Oct 19, 2008 at 7:24 AM, André Warnier <[EMAIL PROTECTED]> wrote: > Hi. > > I have a suggestion regarding the DirectoryIndex directive (Apache 2.2.x). > Do I have to register etc.. somewhere, or can I just submit it here ? > > Note that this may also just be a documentation issue. > > In a

[EMAIL PROTECTED] DirectoryIndex reset ?

2008-10-19 Thread André Warnier
Hi. I have a suggestion regarding the DirectoryIndex directive (Apache 2.2.x). Do I have to register etc.. somewhere, or can I just submit it here ? Note that this may also just be a documentation issue. In any case, here it is : Suggestion : DirectoryIndex disable (or none) There does no

Re: [EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread alex
Highly unlikely that this is a bug. Much more likely that you have another DirectoryIndex directive someplace in httpd.conf, an Include'd config file, or an .htaccess that is overriding your setting. Ding ding ding! We have a winner! There was a conflicting DirectoryIndex in an included config

Re: [EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread Joshua Slive
On 2/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Interesting, Usually the things you define in the Vhost sections can > indeed be overridden in other places. Espcially "server wide" Aliases > that live in some other conf file. > Is it just one particular subdirectory that you have this

Re: [EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread alex
Interesting, Usually the things you define in the Vhost sections can indeed be overridden in other places. Espcially "server wide" Aliases that live in some other conf file. Is it just one particular subdirectory that you have this issue with? Nope, it's for any directory whose sole index is an

Re: [EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread matt farey
[EMAIL PROTECTED] wrote: >> Have you looked around for further config blocks of the type >> >> >> Does your server have rewrites in place for this, and is the file >> listing you are seeing the location to which the DirectoryIndex >> directive applies, it is the location directive in the vhosts

Re: [EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread alex
Have you looked around for further config blocks of the type Does your server have rewrites in place for this, and is the file listing you are seeing the location to which the DirectoryIndex directive applies, it is the location directive in the vhosts section that is making me think that theres

Re: [EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread matt farey
[EMAIL PROTECTED] wrote: > I've got a FreeBSD 5.4-RELEASE box that I've just fallen into > administering, with an existing Apache 2.0.58 install. One of my first > tasks has been to get PHP4 installed, so that the site can support a > blog and some other features. > > The PHP installation went sm

[EMAIL PROTECTED] DirectoryIndex Not Working w/PHP on 2.0.58

2007-02-23 Thread alex
I've got a FreeBSD 5.4-RELEASE box that I've just fallen into administering, with an existing Apache 2.0.58 install. One of my first tasks has been to get PHP4 installed, so that the site can support a blog and some other features. The PHP installation went smoothly, as I did it via FreeBSD's

Re: [EMAIL PROTECTED] DirectoryIndex

2007-02-23 Thread matt farey
DirectoryIndex index.html index.php index.htm index.cgi index.phtml the order is key here. If you have multiviews on YMMV but that should do it. KOJC wrote: > Hi there, > > > I have uploaded my files to the Document Root and there are two files > , index.html and index.php. When I browse in th

[EMAIL PROTECTED] DirectoryIndex

2007-02-23 Thread KOJC
Hi there, I have uploaded my files to the Document Root and there are two files , index.html and index.php. When I browse in the browser, it will directly point to the file index.php but I need that I will point to index.html. I would like to know how can I configure the Directory so that the

Re: [EMAIL PROTECTED] DirectoryIndex alway raises "attempt to invoke directory as script"

2006-12-02 Thread Joshua Slive
On 12/2/06, Eddy Ilg <[EMAIL PROTECTED]> wrote: Using http://guinies.fericom.net/main.py works fine while using http://guinies.fericom.net/ always raises: attempt to invoke directory as script: /services/www/fericom/guilelmia-niedersachsen.de/docs/cgi/ I just can't figure why. If you have any I

[EMAIL PROTECTED] DirectoryIndex alway raises "attempt to invoke directory as script"

2006-12-02 Thread Eddy Ilg
Hi, I had a cgi environment on apache-1.3. Now I upgraded to Apache 2 and it doesn't work anymore. Here's my setup: Serveradmin [EMAIL PROTECTED] ServerName guinies.fericom.net DocumentRoot /services/www/fericom/guilelmia-niedersachsen.de/docs/cgi /services/www/f

[EMAIL PROTECTED] DirectoryIndex not working when mod_autoindex loaded

2006-11-03 Thread Frank Hempel
Hello, When I have loaded the mod_autoindex additionally to the mod_dir I'm getting the error "Directory index forbidden by rule: /some/dir" when I request the path /some/dir or /some/dir/ When I do not load autoindex, it works, that means the index.* files will be taken. The DirectoyIndex r

Re: [EMAIL PROTECTED] DirectoryIndex, DirectorySlash and mod_dav?

2006-07-11 Thread Brandon Fosdick
Joshua Slive wrote: > What are you trying to accomplish? As I said, activating DAV without > any DAV methods doesn't make any sense. I was trying to see if I could give my users a public_html directory within their DAV shares. > In addition, the use of "Dav UserDir" implies you are using some >

Re: [EMAIL PROTECTED] DirectoryIndex, DirectorySlash and mod_dav?

2006-07-11 Thread Joshua Slive
On 7/11/06, Brandon Fosdick <[EMAIL PROTECTED]> wrote: Joshua Slive wrote: > Show us the config and log entries. In general, activating DAV for a > directory shouldn't change anything about GET/HEAD requests. This is the relevant bit from httpd.conf --- #Serve account public_html direct

Re: [EMAIL PROTECTED] DirectoryIndex, DirectorySlash and mod_dav?

2006-07-11 Thread Brandon Fosdick
Joshua Slive wrote: > Show us the config and log entries. In general, activating DAV for a > directory shouldn't change anything about GET/HEAD requests. This is the relevant bit from httpd.conf --- #Serve account public_html directories DirectoryIndex index.html

Re: [EMAIL PROTECTED] DirectoryIndex, DirectorySlash and mod_dav?

2006-07-11 Thread Joshua Slive
On 7/11/06, Brandon Fosdick <[EMAIL PROTECTED]> wrote: As a quick hack I tried enabling mod_dav on a location to see if it would act as a storage backend for regular page serving. That is, just to use it for GET and HEAD requests and none of the other DAV-related requests. For the most part it

[EMAIL PROTECTED] DirectoryIndex, DirectorySlash and mod_dav?

2006-07-11 Thread Brandon Fosdick
As a quick hack I tried enabling mod_dav on a location to see if it would act as a storage backend for regular page serving. That is, just to use it for GET and HEAD requests and none of the other DAV-related requests. For the most part it works, but for some reason DirectorySlash and Director

Re: [EMAIL PROTECTED] DirectoryIndex not working for index.rhtml

2006-07-03 Thread Matus UHLAR - fantomas
On 03.07.06 08:29, Rick Lim wrote: > Has anyone had this problem and being able to fix it? > I have in my config file > > DirectoryIndex index.html index.php index.rhtml index.html.var > > When a browser asks for a default index file with / > Apache will serve index.html or index.php but not inde

Re: [EMAIL PROTECTED] DirectoryIndex not working for index.rhtml

2006-07-03 Thread Joshua Slive
On 7/3/06, Rick Lim <[EMAIL PROTECTED]> wrote: Has anyone had this problem and being able to fix it? I have in my config file DirectoryIndex index.html index.php index.rhtml index.html.var When a browser asks for a default index file with / Apache will serve index.html or index.php but not inde

[EMAIL PROTECTED] DirectoryIndex not working for index.rhtml

2006-07-03 Thread Rick Lim
Has anyone had this problem and being able to fix it? I have in my config file DirectoryIndex index.html index.php index.rhtml index.html.var When a browser asks for a default index file with / Apache will serve index.html or index.php but not index.rhtml TIA --

Re: [EMAIL PROTECTED] DirectoryIndex not working

2006-06-29 Thread Matus UHLAR - fantomas
On 28.06.06 16:16, Nolan Rumble wrote: > [Wed Jun 28 16:14:55 2006] [error] [client xxx.xxx.xxx.xxx] Directory index > forbidden by rule: /var/www/html/link/, referer: http://www.example.com you must allow directory indexex by setting Options +Indexes for/in the specified directory. -- Matus UH

Re: [EMAIL PROTECTED] DirectoryIndex not working

2006-06-28 Thread Joshua Slive
On 6/28/06, Nolan Rumble <[EMAIL PROTECTED]> wrote: > > That's the access log. What does the ERROR LOG say? > My apologiesit's been a long day! [Wed Jun 28 16:14:55 2006] [error] [client xxx.xxx.xxx.xxx] Directory index forbidden by rule: /var/www/html/link/, referer: http://www.exampl

RE: [EMAIL PROTECTED] DirectoryIndex not working

2006-06-28 Thread Nolan Rumble
> > That's the access log. What does the ERROR LOG say? > My apologiesit's been a long day! [Wed Jun 28 16:14:55 2006] [error] [client xxx.xxx.xxx.xxx] Directory index forbidden by rule: /var/www/html/link/, referer: http://www.example.com Thanks Nolan -

Re: [EMAIL PROTECTED] DirectoryIndex not working

2006-06-28 Thread Joshua Slive
On 6/28/06, Nolan Rumble <[EMAIL PROTECTED]> wrote: > > What does the apache error log say? > host - - [28/Jun/2006:16:07:33 +0200] "GET /link/institute/ HTTP/1.1" 403 1004 host - - [28/Jun/2006:16:07:33 +0200] "GET /link/institute/ HTTP/1.1" 403 1004 "-" "Mozilla/5.0 (Windows; U; Windows N

Re: [EMAIL PROTECTED] DirectoryIndex not working

2006-06-28 Thread kckepple
> I'm running a website on apache. I have an index.html in /link. > When I > request the following link: http://localhost/link/ It gives me a > Forbidden> error message. However if I rename the index.html to > index.htm, the link: > http://localhost/link/ works without any problems > Make

RE: [EMAIL PROTECTED] DirectoryIndex not working

2006-06-28 Thread Nolan Rumble
> > What does the apache error log say? > host - - [28/Jun/2006:16:07:33 +0200] "GET /link/institute/ HTTP/1.1" 403 1004 host - - [28/Jun/2006:16:07:33 +0200] "GET /link/institute/ HTTP/1.1" 403 1004 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5

Re: [EMAIL PROTECTED] DirectoryIndex not working

2006-06-28 Thread Joshua Slive
On 6/28/06, Nolan Rumble <[EMAIL PROTECTED]> wrote: Hi, I'm running a website on apache. I have an index.html in /link. When I request the following link: http://localhost/link/ It gives me a Forbidden error message. However if I rename the index.html to index.htm, the link: http://localhost/

[EMAIL PROTECTED] DirectoryIndex not working

2006-06-28 Thread Nolan Rumble
Hi, I'm running a website on apache. I have an index.html in /link. When I request the following link: http://localhost/link/ It gives me a Forbidden error message. However if I rename the index.html to index.htm, the link: http://localhost/link/ works without any problems This would lead

Re: [EMAIL PROTECTED] DirectoryIndex in *.conf WAS 403 Forbidden Error

2006-02-08 Thread Jonathan S. Abrams
Thank you to Joshua and everyone else that contributed to this thread. Not only did I learn a new Terminal command (ktrace), but I also solved the problem and have a slightly better understanding of how Apache recommends *.conf files be laid out. It turns out the one that was setup for us pre

Re: [EMAIL PROTECTED] DirectoryIndex in *.conf WAS 403 Forbidden Error

2006-02-07 Thread Joshua Slive
On 2/7/06, Jonathan S. Abrams <[EMAIL PROTECTED]> wrote: >"[Tue Feb 07 16:00:14 2006] [error] [client 198.65.202.94] > Directory in\ > dex forbidden by rule: /Library/WebServer/new_FTP-Server/test/ There is the error log entry that you kept promising us didn't exist. You must be

Re: [EMAIL PROTECTED] DirectoryIndex in *.conf WAS 403 Forbidden Error

2006-02-07 Thread Jonathan S. Abrams
Joshua Slive wrote: DirectoryIndex and Options Indexes do not override each other. They are complementary. That's what I initially thought. I strongly suspect that you have a simple config or unix permissions problem. It must be config, because the unix permissions are correct. But t

Re: [EMAIL PROTECTED] DirectoryIndex in *.conf WAS 403 Forbidden Error

2006-02-07 Thread Joshua Slive
On 2/7/06, Jonathan S. Abrams <[EMAIL PROTECTED]> wrote: > I have had a breakthrough, though I do not have a solution yet. In my > .conf file, there is a line that reads > > DirectoryIndex index.html index.php index.shtml. > > Beneath that line, later in the .conf file, I have this: > > > Doc

[EMAIL PROTECTED] DirectoryIndex in *.conf WAS 403 Forbidden Error

2006-02-07 Thread Jonathan S. Abrams
I have had a breakthrough, though I do not have a solution yet. In my .conf file, there is a line that reads DirectoryIndex index.html index.php index.shtml. Beneath that line, later in the .conf file, I have this: DocumentRoot /Library/WebServer/new_FTP-Server/ AllowOverride N

Re: [EMAIL PROTECTED] DirectoryIndex /mybin/myindex.cgi

2005-09-08 Thread Andrew Clarke
On Fri, 09 Sep 2005 11:51, Joshua Slive wrote: > > Just remove the suid bit from the suexec binary (or rename it) and > then restart apache. Will do. Now I need to find it looking, ok there it is. Problem solved. Now, it looks like the script has /srv/www/cgi-bin as it's cwd. They are not m

Re: [EMAIL PROTECTED] DirectoryIndex /mybin/myindex.cgi

2005-09-08 Thread Joshua Slive
On 9/8/05, Andrew Clarke <[EMAIL PROTECTED]> wrote: > On Thu, 08 Sep 2005 22:58, Joshua Slive wrote: > > > > Interesting. I haven't looked into it in detail, but I suspect that > > what you are trying to do is not possible with suexec activated. If > > the request is run through mod_userdir, then

Re: [EMAIL PROTECTED] DirectoryIndex /mybin/myindex.cgi

2005-09-08 Thread Andrew Clarke
On Thu, 08 Sep 2005 22:58, Joshua Slive wrote: > > Interesting. I haven't looked into it in detail, but I suspect that > what you are trying to do is not possible with suexec activated. If > the request is run through mod_userdir, then it must follow the > user-specific suexec rules. That includ

Re: [EMAIL PROTECTED] DirectoryIndex /mybin/myindex.cgi

2005-09-08 Thread Joshua Slive
On 9/8/05, Andrew Clarke <[EMAIL PROTECTED]> wrote: > > AllowOverride FileInfo AuthConfig Limit Indexes > Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI > DirectoryIndex /cgi/myindex.cgi > > When it was installed in /srv/www/htdocs/cgi, and invoked as > ht

[EMAIL PROTECTED] DirectoryIndex /mybin/myindex.cgi

2005-09-08 Thread Andrew Clarke
Hi Folks, I'm going around in ever-tightening circles trying to get DirectoryIndex /mybin/myindex.cgi directive to work against a directory within UserDir (ie ~user/public_html). The platform is SuSE 9.3 with the default installation of Apache 2.0.53. For the record, the config files are