Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @Berumen354

1 Comments

Sorted by latest first Latest Oldest Best

 

@Phylliss660

With mod_alias activated, you can do that with the Redirect directive:

Redirect 404 /1234/page/


Redirect expects usually the target as 3rd argument, leaving it brings up the configured ErrorDocument. If a target is added it would result in an internal error.

As can be read in the docs:


If the status is between 300 and 399, the URL argument must be present, otherwise it must be omitted.


(Thanks @w3d for that note!)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme