URL not working without localhost
Posted by: ojchris (105.112.32.---)
Date: March 02, 2017 02:30PM

I was using Wamp 2.4 but had to uninstall it and install 3.0.6 with 3.0.8 update

I like the idea of using virtualhost especially with GUI form provided to create VH on the fly. So I created one for a project was working on prior to version 3.0.8. Now I edited the .htaccess and config file of codeigniter code I was working so that rather localhost/mysitefolder I can now navigate to mysitefolder.

The problem now is the homepage displays rightly at [mysitefolder] but when I try to navigate to any subpages I get this message on the browser
"Not Found The requested URL /financejobs.txt/index.php was not found on this server.
Apache/2.4.23 (Win32) PHP/5.6.25 Server at mysitefolder Port 80"

First I don't understand where the .txt extension is emanating from and I don't know how to go about fixing this.

Kindly advise.



Edited 1 time(s). Last edit at 03/02/2017 02:59PM by ojchris.

Options: ReplyQuote
Re: URL not working without localhost
Posted by: RiggsFolly (Moderator)
Date: March 05, 2017 02:17PM

Hi

Please read THE NEED for VIRTUAL HOSTS

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote


Sorry, only registered users may post in this forum.