Mailing List Archive

Addressing Subfolders in Apache
Dear Apache Geeks—

I have a local installation of Apache 2.4.33 on a Mac Pro tower running macOS 10.13.6, Apache, MySQL, and PHP 7.1.33. The Apache web server works; I can display locally developed web sites in browsers.

There’s just one thing wrong: the server only allows browsers to view site root-level pages. Links to local web pages in subfolders of site root folders are not displayed. Instead I get a requester offering to ‘open with Firefox’ or ‘save file’. Open with Firefox produces a blank browser window with the same requester, with the same choices.

So far web searching and searching the Apache archives have not turned up the diagnoses for my system's inability to view pages in local site subfolders, so I am hoping that someone in this community might know why this is happening.

Sincere Thanks for Your Assistance,

Glen



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Addressing Subfolders in Apache [ In reply to ]
On Thu, May 27, 2021 at 3:27 PM glen@machead.info <glen@machead.info> wrote:
>
> Dear Apache Geeks—
>
> I have a local installation of Apache 2.4.33 on a Mac Pro tower running macOS 10.13.6, Apache, MySQL, and PHP 7.1.33. The Apache web server works; I can display locally developed web sites in browsers.
>
> There’s just one thing wrong: the server only allows browsers to view site root-level pages. Links to local web pages in subfolders of site root folders are not displayed. Instead I get a requester offering to ‘open with Firefox’ or ‘save file’. Open with Firefox produces a blank browser window with the same requester, with the same choices.
>
> So far web searching and searching the Apache archives have not turned up the diagnoses for my system's inability to view pages in local site subfolders, so I am hoping that someone in this community might know why this is happening.

Do you have mod_dir loaded in your configuration?

Does it also fail if you access a specific file in a sub-folder?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Addressing Subfolders in Apache [ In reply to ]
I suspect the problem is not the server. It seems to me that you either have
unintentionally denied access to the files in question or your links are
incorrectly coded.

-----Original Message-----
From: Eric Covener
Sent: Thursday, May 27, 2021 12:34 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Addressing Subfolders in Apache

On Thu, May 27, 2021 at 3:27 PM glen@machead.info <glen@machead.info> wrote:
>
> Dear Apache Geeks—
>
> I have a local installation of Apache 2.4.33 on a Mac Pro tower running
> macOS 10.13.6, Apache, MySQL, and PHP 7.1.33. The Apache web server works;
> I can display locally developed web sites in browsers.
>
> There’s just one thing wrong: the server only allows browsers to view site
> root-level pages. Links to local web pages in subfolders of site root
> folders are not displayed. Instead I get a requester offering to ‘open
> with Firefox’ or ‘save file’. Open with Firefox produces a blank browser
> window with the same requester, with the same choices.
>
> So far web searching and searching the Apache archives have not turned up
> the diagnoses for my system's inability to view pages in local site
> subfolders, so I am hoping that someone in this community might know why
> this is happening.

Do you have mod_dir loaded in your configuration?

Does it also fail if you access a specific file in a sub-folder?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org