Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 configuration mess
Google
Post new topic Reply to topic
Author Message
wojtek
 
 


Joined: 16 Nov 2006
Posts: 7

PostPosted: Fri Nov 17, 2006 11:04 pm Reply with quoteBack to top

I can't see anything from IE. That is neither the localhost neither my site. What should I do?
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Fri Nov 17, 2006 11:44 pm Reply with quoteBack to top

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?
View user's profileSend private messageYahoo MessengerICQ Number
wojtek
 
 


Joined: 16 Nov 2006
Posts: 7

PostPosted: Sun Nov 19, 2006 8:55 am Reply with quoteBack to top

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.
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Mon Nov 20, 2006 9:40 am Reply with quoteBack to top

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
View user's profileSend private message
wojtek
 
 


Joined: 16 Nov 2006
Posts: 7

PostPosted: Mon Nov 20, 2006 7:48 pm Reply with quoteBack to top

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
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Tue Nov 21, 2006 8:05 pm Reply with quoteBack to top

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
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT