Small noob question.
Posted by: Ragatokk (89.9.163.---)
Date: November 10, 2015 08:40PM

when I write localhost I load the page in .../www/index.php
when I write localhost/page2 I do not load .../www/page2.php
when I write localhost/page2.php I load .../www/page2.php

how do I fix this?

Options: ReplyQuote
Re: Small noob question.
Posted by: RiggsFolly (---.as43234.net)
Date: November 11, 2015 12:08AM

This sounds quite normal.

please star tall questions with this information [forum.wampserver.com]

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

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 databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Small noob question.
Posted by: Ragatokk (89.9.163.---)
Date: November 11, 2015 12:43AM

The error I get is:
"Not Found
The requested URL /shop was not found on this server.
Apache/2.4.9 (Win32) PHP/5.5.12 Server at localhost Port 80"

Using the newest wamp on windows 10 x64, green icon (online), have acces to localhost myadmin...



Edited 1 time(s). Last edit at 11/11/2015 12:44AM by Ragatokk.

Options: ReplyQuote
Re: Small noob question.
Posted by: RiggsFolly (---.as43234.net)
Date: November 11, 2015 01:51AM

It is still not clear what you are asking, please remember we are not claivoyant. All we have to go on is what you actually put in your question !!!

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

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 databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Small noob question.
Posted by: Otomatic (Moderator)
Date: November 11, 2015 09:27AM

Hi,

Please : READ BEFORE YOU ASK A QUESTION

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Small noob question.
Posted by: Ragatokk (89.9.163.---)
Date: November 11, 2015 03:07PM

I'll try to be clearer, how do I link localhost/page2 to my page2.php in the www folder?

Options: ReplyQuote
Re: Small noob question.
Posted by: RiggsFolly (---.as43234.net)
Date: November 11, 2015 03:49PM

I think you need to look at using the .htaccess file and activating mod_rewrite

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

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 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.