I started a similar thread back in Jan on the same subject but that website got put on hold. I'm now working on another website and recently started another thread on how to install and MAMP.
I'm using some of info from the original thread, plus what I learned from the installing Mamp thread.
I left the extensions on the file names.
All links are relative.
On the home page I took the extension off one page I'm using for a test. I left the slash off the end but also tested it with the slash on. when I mouse over it in the browser it shows up estensionless but it throws server not found error if I open the page.
I have MAMP installed and I can open pages of the website within Mamp. I also loaded htaccess so the includes would work (for header, etc).
The only other thing I have in htaccess is for extensionless urls (see below). I've tried several settings for the rewrite URL, as mentioned in previous threads, and so far nothing is working.
here is what is currently in htaccess:
(I understand I need to change example.com to the domain once I load it onto the web server)
---------------------
ErrorDocument 404 /missing.htm
AddHandler server-parsed .htm
#
Options +Includes
Options +FollowSymLinks
RewriteEngine on
#
RewriteBase /
#RewriteBase /example.com/
# check for file not existing
RewriteCond %{REQUEST_FILENAME} !-f
# check for directory not existing
RewriteCond %{REQUEST_FILENAME} !-d
# check for filename not ending in .htm to avoid looping
RewriteCond %{REQUEST_FILENAME} !\.htm$
# if the above conditions are met of no matching file, dir or htm file
# then rewrite to a .htm file
RewriteRule ^(([^./]+/)*[^./])$ /$1.htm [L]
---------------------
I get ERROR MESSAGE: Server not found
It was suggested in the earlier thread that I should use Live http headers in Firefox. Here is the last input from trying to access the page.
---------------------
[
ajax.googleapis.com...]
GET /ajax/libs/jquery/1.6.2/jquery.min.js HTTP/1.1
Host: ajax.googleapis.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:33.0) Gecko/20100101 Firefox/33.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
If-Modified-Since: Mon, 02 Apr 2012 18:24:28 GMT
Cache-Control: max-age=0
HTTP/1.1 304 Not Modified
Date: Thu, 30 Oct 2014 07:51:32 GMT
Expires: Fri, 30 Oct 2015 07:51:32 GMT
Age: 37970
Server: GFE/2.0
Alternate-Protocol: 80:quic,p=0.01
---------------------
Can anyone see what might be wrong?