Skip to content
Advertisement

Tag: apache2

Apache2 PHP – How do I use .htaccess to rewrite direct download links

I have a directory of files which are downloaded by users package managers using the direct link to the file. I’m trying to set up file logging, so I can get statistics on the downloads. I’m using this script I found on GitHub: https://github.com/iNamik/PHP-Download-Tracker I’m using the above script that consists of a files directory, a log directory, and an

Apache2 does not show .png images

I just started migrating my code to the google cloud. The server runs Ubuntu but does not display my images (.png). When I open the console and open the link address directly I receive a 404 not found; but when I just go to `http://example.com/icons“I receive a 403 Forbidden message. Could it be the case that some permissions for the

apache2 not executing php statements in opensuse linux

i have apache2 running as a local server. I had a wordpress site on localhost running happily. In trying to enable running phpMyAdmin apache2 somehow stopped executing php code, and I’ve been unable to re-enable it. any help most gratefully received Answer This is a configuration issue. There should be a line: And: This will configure all files that start

Apache2 is not working

I use Linux Mint. When I try to restart apache displays next message. Job for apache2.service failed because the control process exited with error code. See “systemctl status apache2.service” and “…

Advertisement