.htaccess - Get the same result without using htaccess -



.htaccess - Get the same result without using htaccess -

root directory:

errordocument 404 http://example.com/error options -indexes options +followsymlinks rewriteengine on rewritecond %{request_filename} !-d rewritecond %{request_filename} !-f rewriterule ^.*$ ./index.php

/data directory

errordocument 404 http://example.com/error options -indexes

how can same result without using htaccess, by editing apache config file?

.htaccess

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -