Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

295
Views
Apache can't load files through url, dirlisting works though. Mounted share and symbolic linking involved

I'm trying to make files from a share available through apache directory index listing. (Internal only), not accessible from external.

I installed apache 2.4, mounted a shared folder under /mnt/sharedfolder

then put a symbolic link under /var/www/html/mysharedfolder to that mounted folder.

if I go to http://myserverip/mysharefolder , the dirlisting works fine and I can browse the folders and see which files they have.

However when I click on a pdf , docx, jpg , ... it goes straight to Connection reset from Chrome.

In the access log I can see the requests and a 200 response.

The strange thing however is, if I smash the refresh button fast, sometimes a file will succeed in showing/downloading and then the access.log shows for that request 304.

I'm not really sure what is going on.

my virtualhost looks like this :


ServerAdmin webmaster@localhost

DocumentRoot /var/www/html

DirectoryIndex index.html

<Location />

Require ip 192.168.1.0/24

Require ip 192.168.5.0/24

Require ip 192.168.10.0/24

</Location>

<Directory /var/www/html>

Options Indexes FollowSymlinks

AllowOverride None

Require all granted

</Directory>

ErrorLog ${APACHE_LOG_DIR}/error.log

CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>```
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!