Is there any other way to run the .htaccess file on the local server?

Is there a way to run the file .htaccesson the local server while not online?

+3
source share
9 answers

There are not many details in your question, but let me try a corner that has not yet been made (as far as I noticed).

If you ask why the .htaccess file works for this request :

http://myserver.com/mypage

Or even this query :

http://localhost/mypage

But not this request :

file://www/mypage

, HTTP-, , "" Apache. Apache ( ) .htaccess .

, HTTP-, . - , . - , .htaccess .

, , , , .htaccess .

flie .

, , , - - , . ( , Apache.)

+7

.htaccess . . , httpd.conf.

, ?

, AllowOverride All httpd.conf.

+7

, , , .htaccess Apache, , Apache .

+4

.htaccess - - " " .

, , , , ( ).

+1

. htaccess php , Apache . , - Apache, AllowOverrides ,.htaccess Apache.

+1

, .htaccess Apache . - , ( ) (.. ).

0

AllowOverride All , .

0

, , 80 , , 80.

0

Windows.htaccess, XAMPP hosts, , -. .

0

Source: https://habr.com/ru/post/1741418/


All Articles