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 10 Pro 64bit) (Wampserver 3.1.3 32bit & 64bit)
<Apache 2.4.29/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.39/5.5.28>
<MariaDB 10.2.14> <phpMyAdmin4.8.1> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.