Giganews Newsgroups

Apache 2 as a testing server

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


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-10-2005
affen
 
Posts: n/a
Default Apache 2 as a testing server

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

  #2 (permalink)  
Old 02-10-2005
Thor Kottelin
 
Posts: n/a
Default Re: Apache 2 as a testing server



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
  #3 (permalink)  
Old 02-10-2005
affen
 
Posts: n/a
Default Re: Apache 2 as a testing server

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

  #4 (permalink)  
Old 02-11-2005
Thor Kottelin
 
Posts: n/a
Default Re: Apache 2 as a testing server



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
  #5 (permalink)  
Old 02-12-2005
affen
 
Posts: n/a
Default Re: Apache 2 as a testing server

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


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0