Newbie Question: Tutorials on using...

User 2108455 Photo


Registered User
7 posts

Does anyone know of any tutorials that might help me use Apache for testing multiple CoffeeCup Website projects locally...?

I know nothing about Apache and wading through the Apache docs is like reading a dictionary, it gives me brain freeze. Would like to see if there are any step by step tutorials that can help me get my feet wet.

Thanks.
The quality of your life is determined by the quality of questions you ask.
User 184085 Photo


Ambassador
1,707 posts

Download WAMP and it will install a Windows Apache MySQL PHP server on your computer, then put your website in the www directory and with wamp running http://localhost in the browser window and your off to the races.

I have 4 websites in separate folders under www on a laptop and it is great to show clients what things would look like.

Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 184085 Photo


Ambassador
1,707 posts

Lynda.com has a couple of php mysql tutorials that will get you started with wamp.
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 2108455 Photo


Registered User
7 posts

OK, I have a really dumb question...

How do I map URL's to the 4 folders?

Can I use something like
http://localhost/folder1/index.php
http://localhost/folder2/index.php
http://localhost/folder3/index.php
http://localhost/folder4/index.php

Or do I need to change some parameter in my Apache conf files to map different url's to corresponding folders?

Thanks for your help!
The quality of your life is determined by the quality of questions you ask.
User 184085 Photo


Ambassador
1,707 posts

what are you trying to do, the index.php file in www will display your folders at the bottom, just click to open them up.

in the editor, create a web project with the default folder as the /wamp/www folder and each time you open the editor you end up with all your sites available.
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 184085 Photo


Ambassador
1,707 posts

Are you trying to put your WAMP server live on the internet?
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 364143 Photo


Guest
5,410 posts

I used wamp for like a minute because it just as easy for me to upload the file on a live server for testing. But, if I remember correctly, you have to open the wamp config file in a browser window and pointed wamp to the directory where my web files were located.
CoffeeCup... Yeah, they are the best!
User 2108455 Photo


Registered User
7 posts

David & Tom - Thanks for your help!

David - I wasn't trying to put the WAMP server online, just want to do local testing on my laptop. Will follow your advice and see what happens. Thanks again!
The quality of your life is determined by the quality of questions you ask.
User 122279 Photo


Senior Advisor
14,647 posts
Online Now

I have WAMP installed, and there shouldn't be any need to configure anything if you stick your files into the www folder it creates. I have some of my files buried deep down in various subfolders, and it still works like a charm.

Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.