local host access
Posted by: ameliabob (---.mnisoftware.com)
Date: August 06, 2018 05:21PM

what is the syntax to access my project using localhost

i.e localhost/project1???

Options: ReplyQuote
Re: local host access
Posted by: RiggsFolly (Moderator)
Date: August 06, 2018 06:05PM

Hi

Thats really depends on where you put your project files!

If you put them in c:\wamp64\www\project1 then yes, but you alow need an index.php
If you have no index.php and lets say you have a file1.php then you would use `localhost/project1/file1.php`

---------------------------------------------------------------------------------------------
(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: local host access
Posted by: ameliabob (---.mnisoftware.com)
Date: August 06, 2018 06:28PM

I tried the second option and got the response

Forbidden

You don't have permission to access /earnings/startup.html on this server.
Apache/2.4.33 (Win64) PHP/5.6.35 Server at localhost Port 80

The earnings folder is a subdirectory of wamp64/www/ and startup.html is the first program.

Options: ReplyQuote
Re: local host access
Posted by: RiggsFolly (Moderator)
Date: August 07, 2018 12:31AM

Then use

localhost/project1/startup.html

OR

Change startup.html to index.html (Apache automatically looks for an index.html or index.html and runs it if there is one)

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