localhost remove HTML extension

Posted by Cusa John on Stack Overflow See other posts from Stack Overflow or by Cusa John
Published on 2013-10-20T19:32:31Z Indexed on 2013/10/21 3:54 UTC
Read the original article Hit count: 93

Filed under:
|
|

I've been trying to clean up my urls with htaccess but I can't seen to get it to work on my localhost.

My website url: localhost/index.html

This is the default htaccess file that's in my www folder.

#------------------------------------------------------------------------------
# To allow execution of cgi scripts in this directory uncomment next two lines.
#------------------------------------------------------------------------------

AddType application/x-httpd-php .html .htm .php
AddHandler cgi-script .pl .cgi
Options +ExecCGI +FollowSymLinks

© Stack Overflow or respective owner

Related posts about html

Related posts about .htaccess