| View previous topic :: View next topic |
| Author |
Message |
wojtek
Joined: 16 Nov 2006
Posts: 7
|
| Posted: Fri Nov 17, 2006 11:04 pm Post subject: configuration mess |
|
|
| I can't see anything from IE. That is neither the localhost neither my site. What should I do? |
|
| Back to top |
|
Joshua Meadows (DemoRic)
Joined: 29 Dec 2004
Posts: 785
Location: S.E. Kansas
|
| Posted: Fri Nov 17, 2006 11:44 pm Post subject: |
|
|
If you are coding php, it may be a problem in yourscript.
View your php error log to find out what it is.
OR
To display php errors in your browser by adding the following to your .htaccess, or add it to your virtual hosts.
Quote: #display php errors
php_value register_globals 0
php_value error_reporting 2047
php_value display_errors 1
Does http://localhost/apache2triadcp work? |
|
| Back to top |
|
wojtek
Joined: 16 Nov 2006
Posts: 7
|
| Posted: Sun Nov 19, 2006 8:55 am Post subject: IExplorer problem again |
|
|
Hi again,
http://localhost/apache2triadcp works
Below see how i defined my vhost containers. apache listens only for
Listen 127.0.0.1:80.
I can see localhost and pierwszy.ppll from Mozilla firefox.
and only localhost from IExplorer. Help !!! see below code and what error.log says
Code:
NameVirtualHost 127.0.0.1:80
<VirtualHost localhost:80>
</VirtualHost>
<VirtualHost pierwszy.ppll:80>
ServerAdmin webmaster@pierwszy.ppll
DocumentRoot C:/USR/www/pierwszy.ppll/htdocs
ServerName pierwszy.ppll
ServerAlias www.pierwszy.ppll
ErrorLog logs/pierwszy-error_log
CustomLog logs/pierwszy-access_log common
</VirtualHost>
[/list][Sun Nov 19 09:26:05 2006] [crit] (22)Invalid argument: unable to replace stderr with error_log
[Sun Nov 19 09:26:05 2006] [crit] (2)No such file or directory: unable to replace stderr with /dev/null
[Sun Nov 19 09:26:06 2006] [crit] (22)Invalid argument: unable to replace stderr with error_log
[Sun Nov 19 09:26:06 2006] [crit] (2)No such file or directory: unable to replace stderr with /dev/null
[Sun Nov 19 09:26:07 2006] [notice] Apache configured -- resuming normal operations
[Sun Nov 19 09:26:07 2006] [notice] Server built: Sep 30 2006 21:24:06
[Sun Nov 19 09:26:07 2006] [notice] Parent: Created child process 2208
[Sun Nov 19 09:26:09 2006] [notice] Child 2208: Child process is running
[Sun Nov 19 09:26:09 2006] [notice] Child 2208: Acquired the start mutex.
[Sun Nov 19 09:26:09 2006] [notice] Child 2208: Starting 250 worker threads.
[Sun Nov 19 09:26:09 2006] [notice] Child 2208: Starting thread to listen on port 443.
[Sun Nov 19 09:26:09 2006] [notice] Child 2208: Starting thread to listen on port 80. |
|
| Back to top |
|
Vlad Alexa Mancini
Joined: 07 Jul 2003
Posts: 1538
|
| Posted: Mon Nov 20, 2006 9:40 am Post subject: |
|
|
well what you are waiting for ?
the log is quite explicit
Quote: [Sun Nov 19 09:26:06 2006] [crit] (2)No such file or directory: unable to replace stderr with /dev/null
for example reffers to
Quote: CustomLog logs/pierwszy-access_log common
if you still think this is a valid file path on windows please tell me how you can open this file in say notepad |
|
| Back to top |
|
wojtek
Joined: 16 Nov 2006
Posts: 7
|
| Posted: Mon Nov 20, 2006 7:48 pm Post subject: IE responce to Vlad |
|
|
hi Vlad.
The thing is- I am very fresh at the field. Please, be more specific.
the directives are derrived straight from the book
ErrorLog logs/pierwszy-error_log
CustomLog logs/pierwszy-access_log common
You know, explicit for you doesn't mean for me
thanks in advance |
|
| Back to top |
|
Vlad Alexa Mancini
Joined: 07 Jul 2003
Posts: 1538
|
| Posted: Tue Nov 21, 2006 8:05 pm Post subject: |
|
|
http://httpd.apache.org/docs/2.0/mod/core.html#errorlog wrote: Syntax: ErrorLog file-path|syslog[:facility]
the issue is very simple
Quote: /root/unix/directory/file is a unix path
Quote: x:/root/windows/directory/file.ext is a windows path
fix your paths and acnowledge unix |
|
| Back to top |
|
| |