So for some reason the 404 page is not picking up the css file (it works fine on the online site). I noticed that when I open localhost/home page and type in the contact page link it reverts to the online site 404 page with no images, header, menu and footer (only text).Īnd if I open localhost/home page and click on the same link in the menu it goes to the 404 page in htdocs, with no images, header, menu and footer (only text). RewriteRule (.*) /$1.html for the info above. # externally redirect to extensionless URI # If client request header contains html file extension # Externally redirect clients directly requesting. # and if it does not exist as a directory # If the requested URI does not contain a period in the final path-part # Internally rewrite extensionless file requests to. Here is the relevant htaccess: (I have example changed to actual domain in the original file) I have the rewrite to non-www below this bit of code and it's working. It was doing the same thing before I added the full url to the ErrorDocument 404 Here is the path (which is an error as this site is only 2 levels deep): It shows the data of the custom 404 page but the header,menu, footer aren't loading. It goes from localhost to the actual domain (which doesn't have this file loaded yet). When I try to test to see if the extensionless URL is working by typing in a page.html, i.e., When I enter localhost/ in the browser all pages load with all images as expected. I have MAMP set up and it's working for most htaccess requests (rewrite to non-However, the extensionless rewrite isn't working (I got it off an old JD Morgan page of instructions on the same) as the explanations help to explain what's going on. I have spent about 12 hours since yesterday researching it again. FastCGI: process manager initialized (pid 9736) FastCGI: process manager initialized (pid 9256) FastCGI: process manager initialized (pid 8186) FastCGI: process manager initialized (pid 7318) Digest: generating secret for digest authentication. FastCGI: process manager initialized (pid 7201) Here is my Apache Error log, in case anyone needs this to help Digest: generating secret for digest authentication. I uninstalled & reinstalled MAMP and that also did nothing.^ There also isn't a MAMP folder in my Library/Application Support, just in case that's suggested.There are only 2 folders and a "mysql_upgrade_info" file. Mamp should restart and the apache server should run normally now. Mamp -> Preferences PHP -> Change Standard Version to 7.2.14 (Or a different option than it is now) Click OK. I found this solution from stackOverflow. There is no ib_logfile for me to delete in the Applications/MAMP/db/mysql/ folder. I was running MAMP(not pro) on Windows 10(64-bit) and the apache server wouldn't start.Running on ports 80 & 3306 doesn't work, nor does 3307.Typing killall -9 msqld (with and without sudo) into Terminal returns "No matching processes were found". The Apache Server light comes on, but the MySQL server remains empty/blank, and the "Open Webstart page" option is still greyed out. I don't get any kind of error message, the loading wheel just spins then stops. I've set a new root folder, set the ports to the default 8888 & 8889, and when I hit "Start Servers", nothing happens. I've just installed and opened MAMP for the first time on a Mac 10.12.6 (Sierra).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |