This is a discussion on Apache 2 as a testing server within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi I'm using Apache 2 as a testing server on my local machine for web sites I'm currently ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi
I'm using Apache 2 as a testing server on my local machine for web sites I'm currently developing, and I cant seem to get Apache to find the index files of the different web sites. I start Apache in Console and then try to launch the web pages by using the preview in browser command from Dreamweaver, but this does not work, and I get a result like: http://localhost/TMP30nfbbpdgu.html and an error message. How do I set up Apache to find and launch the different index files? Anrfinn |
|
|||
|
affen wrote: > I'm using Apache 2 as a testing server on my local machine for web > sites I'm currently developing, and I cant seem to get Apache to find > the index files of the different web sites. I start Apache in Console > and then try to launch the web pages by using the preview in browser > command from Dreamweaver, but this does not work, and I get a result > like: http://localhost/TMP30nfbbpdgu.html > and an error message. How do I set up Apache to find and launch the > different index files? Try a normal web browser, such as Netscape, first. If you get an error, look at the error message and your error logs. Thor -- http://www.anta.net/OH2GDF |
|
|||
|
Ok thanx, this in turn promts me to set up a testing server in
dreamweawer.... how could I forget.... Now after doing this, specifying the server model being PHP MySql and Access: Local/Network, and the proper path for the Testing Server Folder, where I specify where the index file in question is located, index.php and finally the URL prefix: http://localhost/ After doing this, netscape gives this message: Not Found The requested URL /TMPb4eklbpnyy.php was not found on this server. Apache/2.0.44 (Win32) PHP/4.3.10 Server at localhost Port 8080 which indicates that Apache is running and PHP is running/working but the server is not finding the path to the index file or someting. ???? Any advice apreciated. Affen |
|
|||
|
affen wrote: > The requested URL /TMPb4eklbpnyy.php was not found on this server. > Apache/2.0.44 (Win32) PHP/4.3.10 Server at localhost Port 8080 Does that file exist in the file system? If it does, does Apache have permission to read it? Thor -- http://www.anta.net/OH2GDF |
|
|||
|
Hi, you know, when the starting point of the test is the actual file in
Dreamwever, then the file definitely exists. I found the soloution which was to change the Apache's httpd.conf file, where I had to add an instance for DocumentRoot pointing to the location of the index file in question. From there on it worked and I got it to process some simple php pages. My next challenge now is to set up Dreamwever to access MySQL. Now I'm getting exited. Thanx for your concern anyway. Thor Kottelin wrote: > affen wrote: > > > The requested URL /TMPb4eklbpnyy.php was not found on this server. > > Apache/2.0.44 (Win32) PHP/4.3.10 Server at localhost Port 8080 > > Does that file exist in the file system? If it does, does Apache have > permission to read it? > > Thor > > -- > http://www.anta.net/OH2GDF |