[users@httpd] Re: [External] : Re: [users@httpd] DirectoryIndex broken in Apache 2.4.60?

2024-07-01 Thread Jack Swan
] : Re: [users@httpd] DirectoryIndex broken in Apache 2.4.60? On Mon, Jul 1, 2024 at 2:53 PM Eric Covener mailto:cove...@gmail.com>> wrote: On Mon, Jul 1, 2024 at 2:51 PM Matthew Goebel wrote: > > Going from 2.4.59 to 2.5.60 I had to make the following change in my > httpd.conf fi

Re: [users@httpd] DirectoryIndex broken in Apache 2.4.60?

2024-07-01 Thread Frank Gingras
On Mon, Jul 1, 2024 at 2:53 PM Eric Covener wrote: > On Mon, Jul 1, 2024 at 2:51 PM Matthew Goebel > wrote: > > > > Going from 2.4.59 to 2.5.60 I had to make the following change in my > httpd.conf file. > > > > AddType application/x-httpd-php .php > > > > to > > > > AddHandler application/x-htt

Re: [users@httpd] DirectoryIndex broken in Apache 2.4.60?

2024-07-01 Thread Eric Covener
On Mon, Jul 1, 2024 at 2:51 PM Matthew Goebel wrote: > > Going from 2.4.59 to 2.5.60 I had to make the following change in my > httpd.conf file. > > AddType application/x-httpd-php .php > > to > > AddHandler application/x-httpd-php .php Thanks Matthew, this makes perfect sense. I will add this t

Re: [users@httpd] DirectoryIndex broken in Apache 2.4.60?

2024-07-01 Thread Eric Covener
On Mon, Jul 1, 2024 at 2:45 PM Jack Swan wrote: > > Have an existing application and Apache installation (have been using Apache > for years). > > Upgraded Apache from 2.4.59 to 2.4.60 today and the browser prompts to save > the index.php file instead of > serving/processing it when just enterin

Re: [users@httpd] DirectoryIndex broken in Apache 2.4.60?

2024-07-01 Thread Matthew Goebel
Going from 2.4.59 to 2.5.60 I had to make the following change in my httpd.conf file. AddType application/x-httpd-php .php to AddHandler application/x-httpd-php .php Thanks, Matt On Mon, Jul 1, 2024 at 2:45 PM Jack Swan wrote: > Have an existing application and Apache installation (have

[users@httpd] DirectoryIndex broken in Apache 2.4.60?

2024-07-01 Thread Jack Swan
Have an existing application and Apache installation (have been using Apache for years). Upgraded Apache from 2.4.59 to 2.4.60 today and the browser prompts to save the index.php file instead of serving/processing it when just entering https:// as the URL. This had been working fine for years

[users@httpd] DirectoryIndex and mod_rewrite

2014-10-27 Thread Julien Etter
Hello, I am trying to get my head around a behaviour I have seen on 2.4, but not affecting 2.2. Has anyone seen this? I am using a DirectoryIndex: DirectoryIndex index.php As well as a rewrite rule in a .htaccess file: RewriteRule ^$ index_download.php [L] If I access the folder, t

[users@httpd] DirectoryIndex not working with mod_disk_cache?

2014-09-18 Thread Jesús Pérez
I have enabled mod_disk_cache and included 'index.php' in DirectoryIndex directive. I realized that when I enable disk caching, my '/' page is correctly served from the index.php file for while and after a few requests I get a 403 response. So I went to the error log and found the "Directory index

Re: [users@httpd] DirectoryIndex

2014-04-03 Thread Eric Covener
On Wed, Apr 2, 2014 at 10:52 PM, Tony Kwan wrote: > Hi, > > I have tried "DirectoryIndex index.html index.php" but it still recognized > the index.html only (first one). Any other suggestions? > if index.php requires authentication, and you strip out the Authorization header, it makes sense that

Re: [users@httpd] DirectoryIndex

2014-04-02 Thread Tony Kwan
Hi, I have tried "DirectoryIndex index.html index.php" but it still recognized the index.html only (first one). Any other suggestions? Thanks! Regards, Eddy On Thu, Apr 3, 2014 at 10:31 AM, P. Guethlein wrote: > Try > > DirectoryIndex index.html index.php > > > > At 08:41 PM 4/1/2014, you w

Re: [users@httpd] DirectoryIndex

2014-04-02 Thread P. Guethlein
Try DirectoryIndex index.html index.php At 08:41 PM 4/1/2014, you wrote: Hi, We used "DirectoryIndex" and here is the list DirectoryIndex index.html DirectoryIndex index.php Everything works fine without any problem. But recently we have added another "RequestHeader unset Authorization"

[users@httpd] DirectoryIndex

2014-04-01 Thread Tony Kwan
Hi, We used "DirectoryIndex" and here is the list DirectoryIndex index.html DirectoryIndex index.php Everything works fine without any problem. But recently we have added another "RequestHeader unset Authorization" Directive Options None AllowOverride None RequestHeader unset Authoriza

Re: [users@httpd] DirectoryIndex fails to serve file to proxy (php-fpm, proxy_fcgi_module)

2012-09-18 Thread PanaColina
Thank you for your indulgent response to my so ignorant request. I will move this to a relevant PHP list (although I tried more than a week ago on a PHP-FPM list, with no response). I did understand that *this is not an error in Apache HTTP Server*, but Apache has had workarounds for some issues

Re: [users@httpd] DirectoryIndex fails to serve file to proxy (php-fpm, proxy_fcgi_module)

2012-09-18 Thread Mark Montague
On September 18, 2012 0:17 , PanaColina wrote: Thank you for your response. I had assumed that there was some mechanism either within Apache HTTP Server or within PHP-FPM for handling a URI request that corresponds to a directory. It just seemed like such a basic requirement, to me. Apache H

Re: [users@httpd] DirectoryIndex fails to serve file to proxy (php-fpm, proxy_fcgi_module)

2012-09-17 Thread PanaColina
Thank you for your response. I had assumed that there was some mechanism either within Apache HTTP Server or within PHP-FPM for handling a URI request that corresponds to a directory. It just seemed like such a basic requirement, to me. I understand your point about a RewriteRule for matching dire

Re: [users@httpd] DirectoryIndex fails to serve file to proxy (php-fpm, proxy_fcgi_module)

2012-09-16 Thread Mark Montague
On September 14, 2012 15:25 , PanaColina wrote: When a directory request is received, apache sends only the directory name to the proxy fcgi, not the file name, even though the DirectoryIndex directive is set (and working correctly in a basic config). A critical problem as http://www.example.

[users@httpd] DirectoryIndex fails to serve file to proxy (php-fpm, proxy_fcgi_module)

2012-09-14 Thread PanaColina
When a directory request is received, apache sends only the directory name to the proxy fcgi, not the file name, even though the DirectoryIndex directive is set (and working correctly in a basic config). A critical problem as http://www.example.com gives "file not found" or "no input file specifie