• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Problem with /error/ in URI

Azurel

Silver Pleskian
Hi,

I have a framework with a custom 404 page. URL: www.domain.com/error/404, www.domain.com/error/500 and more...

When URL include a "/error/" apache cut here the connection to php and send a default apache 404 page.
I can set a "die('php'); in first line of index.php, this will with URL above never show up.

I have the same problem in XAMPP (laptop dev).. In xampp I found in httpd.conf a include to httpd-multilang-errordoc.conf with content:
Alias /error/ "C:/......./xampp/apache/error/"

So I think here is the problem too with a Alias or so? All URL with "/error/" in url will not working.

Is this a problem in plesk11.5? Is it solvable? What I can do? ;)
 
Can anybody help here? :)


EDIT: I have change the url structure and remove "/error/" in it to www.domain.com/404

That is the problem in /etc/httpd/conf/httpd.conf
Alias /error/ "/var/www/error/"
 
Last edited:
Back
Top