Click to See Complete Forum and Search --> : apache/dreamweaver problem


gokou
03-26-2003, 02:48 PM
I'm trying to create a root folder for a web application. I read this:
After the server software is installed, create a root folder for your web application on the computer running the web server.

Make sure the folder is published by the web server—in other words, the web server can serve any file in this folder or in any of its subfolders in response to an HTTP request from a web browser. For example, on a computer running PWS or IIS, any file in the Inetpub\wwwroot folder or in any of its subfolders can be served to a web browser.

I've created a local folder called "my sites". Now I'm suppose to make a root folder for my web application.
I don't really know where to put the folder i'm suppose to make.

After creating a root folder, I think i'm suppose to make a remote folder. I'm not sure what that is. Part of what I read says' this:
You don’t need to define a remote folder if the folder you defined in Defining a local folder can double as the root folder for your web application. (This implies that the web server is running on your local computer.)

A bit confusing for me.

Now I need to make a testing server. I did read a basic tutorial on configuring apache. Heres something in the tutorial that got my attention, creating an experimental server. I assume that's a testing server?

Suppose you wish to hide a test or experimental server from the outside world. You have a DSL line and have configured your router to only allow requests directed at port 80, served by your public web server. Configure your experimental server to listen on a different port number -- 8000 for instance. You can choose any port number as long as the port is not reserved for use by another service, and the number is greater than 1023 if you're not running as root.

In dreamweaver, I have my testing server url as http:\\localhost I put that there as a pure guess. When I press f12 in dreamweaver to view the site, I get a confirm type box saying: "Cannot save file http://www.uogameresources.com/TMPznrvcdj2n.html on the testing server. Would you like to change the location of the testing server?"

Sorry if this is long. I sorta tryed to make it short.

khalidali63
03-26-2003, 03:54 PM
In apache you can create a root folder in apache "ROOT" folder.
http://localhost/
this will point to files in side of "ROOT" folder.
Now if you create a folder in "ROOT" directory say "mysite" then you can access any files in this folder like this

http://localhost/mysite/index.html.

I hope this helps you to some extent.

Cheer

Khalid

gokou
03-26-2003, 05:45 PM
Yes, thanks' It gives me something to work with, but i'm still having trouble with it. Heres my setting in dreamweaver.

Site name: uogameresources

Local Root Folder: C:\Program Files\Apache Group\Apache\ROOT\My Sites\

Default Images Folder: C:\Program Files\Apache Group\Apache\ROOT\My Sites\images

Access: Local/Network

Remote Folder: C:\Program Files\Apache Group\Apache\ROOT\My Sites\

Server Name: ColdFusion

This Site Contains: Dreamweaver MX Pages Only

Testing Server: C:\Program Files\Apache Group\Apache\ROOT\My Sites\

URL Prefix: ROOT/ (i'm not sure what to put for url prefix at all)

Theres always an error in the page when I try to view it. Do you know what i'm doing wrong?

gokou
03-27-2003, 09:44 AM
Anyone know what's wrong?

I ordered some books for apache, but there not here yet......

gokou
03-27-2003, 10:43 PM
I finally figured out how to display stuff with apache, Files had to be in htdocs. Now I think my only problem is the Local Root Folder in dreamweaver. Heres how it's set.

Local Root Folder: C:\Program Files\Apache Group\Apache\htdocs\

I have my "my_sites" folder in htdocs. When I click ok in edit mode, I get an alert box saying "WARNING: The selected folder does not contain the current site's home page. The site map cannot be built".

Anyone know what that means'?

I can't install coldfusion mx, it freezes everytime when trying to install(yes, it was downloaded). I tryed on two comps to install, no luck. Anyone know what might be the problem there?