I have a configuration on NginX that sets the file path to a file like this:

location = /upload.php {
    alias /full/path/to/your/magentoproject/http/upload.php;

How can I do the same on Apache server?

1 Answer 1


In your apache virtualhost configuration add the line

alias "/upload.php" "/full/path/to/your/magentoproject/http/upload.php"

and restart the service.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .