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

366
Vistas
Php files not found on Apache server

I am developing a Flask app, and I have deployed it locally to an Apache server (it's my first time with Apache). It works ok, but now I would like to add the PHPlitemyadmin php script in order to manager my sqlite database, but I can't seem to maki it work (I get Not Found).

I've been banging my head against the wall for the last hours. The site wiki says:

  • Save and upload phpliteadmin.php to your web server.
  • Open a web browser and navigate to the uploaded phpliteadmin.php file. You will be prompted to enter a password. Use the same password you set in step 4.

I copied the php script to /path/to/webApp/directory/ but I can't navigate to it. In Apache's access.log I can see "GET /phpliteadmin.php HTTP/1.1" 404 429 " just after other correct gets in the same directory. Am I missing something? I also tried other php files, and none works, so maybe I should add something to Apache, despite the wiki not specifying anything about it. Ideally, I would like to access the script from /admin.

This is my webApp.conf in sites-enabled.

<VirtualHost *:80>

     ServerName <localIP>

     WSGIScriptAlias / /path/to/webApp/directory/webApp.wsgi

     DocumentRoot /path/to/webApp/directory

     <Directory /path/to/webApp/directory>
            Options FollowSymLinks
            AllowOverride None
            Require all granted
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/error.log
     LogLevel warn

     CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

The solution was to add the following line to the site .conf:

Alias "/admin" "/path/to/webApp/directory/phpliteadmin.php"
over 4 years ago · Santiago Trujillo Denunciar
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