Windows Apache Server access issues

  • Thread starter Thread starter Samuel Brown
  • Start date Start date
S

Samuel Brown

I have 6 windows webservers all working in a round robin setup for our company's internal users.

  • All six are running the same versions of Apache (2.4.65) and php (5.5.38).
  • Four of my servers are windows 7 OS
  • And 2 are new servers I am working on to be Windows 11.
  • All have a samba share map to a Linux directory where image documents like pdf and tiffs are stored.
  • We have a php script that users use to access those documents. The php script does a directory listing and user click on a link to access the document.

Here is the problem.

  • My four Windows 7 servers never have a problem accessing the documents.
  • But my Windows 11 servers access some documents but sometimes when I click on a document to pull it up I get a 403 forbidden error. But doesn't happen on all the documents.
  • If I get into my Linux server and change the name of the document all of a sudden my Windows 11 webservers can access the document.

When I get the forbidden error, I get the the Apache error log and I see the error:

[Fri Jan 02 07:58:56.577384 2026] [core:error] [pid 6832:tid 1888] (OS 267)The directory name is invalid. : [client 10.69.174.58:38754] AH00036: access to /hpfcdocs/6528/EFT authorization.2025-12-23.160511.tif failed (filesystem path 'O:/HPFC/6528/EFT authorization.2025-12-23.160511.tif'), referer: https://lawweb.local.msti/HPFC/PF_0038.php?dinitial=samb&dalt_initial=&sec_supv_level=1&kp=&dacctno=6528&devent=dacctno&clicked_ary=1&help=

If I point my machine to one of my 4 windows 7 servers I have no problem accessing that same exact file. So I don't know what's different other than the operating system. All my webservers have the same user log in, same php.ini and apache.conf settings.

In my apache.conf file all the servers have the following directive:

Code:
Alias /hpfcdocs/ "o:/HPFC/"
<Directory "o:/HPFC">
    Options None
    AllowOverride None
    Require all granted

At this point I am at a loss. My project is to replace all 4 of my Win 7 servers with Windows 11 and this is the only thing stopping me from getting this project done. Any ideas?

Continue reading...
 
Back
Top Bottom