Copy link to clipboard
Copied
QUESTION: Can the local root folder and the folder for the testing server be the same folder. If so, are there any problems about which I should be made aware when connecting to the remote server? If not, how should I configure my site so that I can test locally before uploading to my remote server?
BACKGROUND:
Machine: MacBook
OS: MacOS 10.5
Remote Server: Lunarpages
Local Server: MAMP/MAMP Pro (Apache, PHP 5, MySQL)
DISCLAIMER: After a careful read of the Adobe Dreamweaver CS3 manual for building web-applications I am thoroughly confused. I take none of the blame for my confusion, as I can easily demonstrate where the manual contradicts itself.
Copy link to clipboard
Copied
Can the local root folder and the folder for the testing server be the same folder.
yes
If so, are there any problems about which I should be made aware when connecting to the remote server?
no
If not, how should I configure my site so that I can test locally before uploading to my remote server?
well, mac osx comes with all the tools necessary to develop great php sites. but even so, it's a lot easier to use a product like MAMP (www.mamp.info) to establish a local development / testing environment. Simply download the free software, drag to applications folder, start and use. You may also want to change the default ports to 80/3306 so you don't have to enter those in your connections (i.e. localhost:8888).
Copy link to clipboard
Copied
QUESTION: How do I get my local browsers to use the MAMP server at Port 110?
BACKGROUND: So, I have installed MAMP and MAMP-Pro and designated my local and testing folders to be the same. When I try to test my file locally with my local browser two things happen: one, a temporary file is dumped into my local folder; and two, my browse tells me the following:
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
What is wrong appears to be self-evident from the comment "Apache/1.3.41 Server at thegenaproject.com Port 80".
SERVER AND APPLICATION SPECIFICATIONS
DREAMWEAVER specifications:
LOCAL INFO
local root folder: Arcas:Applications:MAMP:htdocs:thegenaproject:
http address: http://thegenaproject.com/
REMOTE INFO
remote folder: ftp.thegenaproject.com
TESTING SERVER
Server Model: PHP MySQL
Access: Local/Network
Testing Server Folder: :Applications:MAMP:htdocs:thegenaproject:
URL Prefix: http://thegenaproject.com/
MAMP-Pro specifications
SERVER / GENERAL
PORTS: Apache: 110 / MySQL: 3306
USER: www/mysql
HOST: localhost
Roddy
Copy link to clipboard
Copied
I have apparently and temporarily resolved my problem by performing the following:
1) Using the MAMP-Pro default ports and localhost server, and
2) Setting my http address and url prefix to the same local address.
LOCAL INFO
http address: http://uranus.local:8888/thegenaproject/
TESTING SERVER
url prefix: http://uranus.local:8888/thegenaproject/
Any comments on this fix would be appreciated. For example, you could provide an explanation as to why what I have done works, and how I might use the same logic to set up a new virtual host with a different set of ports.
Roddy
Copy link to clipboard
Copied
kiusau wrote:
I have apparently and temporarily resolved my problem by performing the following:
1) Using the MAMP-Pro default ports and localhost server, and
2) Setting my http address and url prefix to the same local address.
LOCAL INFO
http address: http://uranus.local:8888/thegenaproject/
TESTING SERVER
url prefix: http://uranus.local:8888/thegenaproject/
Any comments on this fix would be appreciated. For example, you could provide an explanation as to why what I have done works, and how I might use the same logic to set up a new virtual host with a different set of ports.
Roddy
So, is that the solution?
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more