Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

303
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda