E
E
Ed12017-04-29 08:05:22
Apache HTTP Server
Ed1, 2017-04-29 08:05:22

How to connect .htaccess to Apache24??

I have .htaccess( its code is :

ErrorDocument 404 "Error 404"
) and I want to connect it to Apache24 [its path : C:\WEB\Apache24\conf\htaccess\www\.htaccess ]. In httpd-default.conf I wrote

ServerAdmin [email protected]
DocumentRoot /htaccess/www
AccessFileName .htaccess
Options All
AllowOverride All
Order allow,deny
allow from all

But it doesn't work. Help please

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
ozornick, 2017-04-29
@ozornick

https://httpd.apache.org/docs/2.4/custom-error.html
Manual first, questions later

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question