Index.php and internal server error 500..

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Jack
Guest





PostPosted: Mon Jun 03, 2002 5:07 pm    Post subject: Index.php and internal server error 500.. Reply with quote

Hi,

This probably belongs in the PHP section but here it goes anyway.

I have a PHP page that works fine under Abyss when I access it like so:

http://xx.xx.xx.xx/index.php

However when I connect to the webserver with just:

http://xx.xx.xx.xx/

I get a internal server error with code 500. Am I missing something?

Oh, and I have set the index files allowed in the server parameters section to include index.php.

And thanks for the new version, excellent job, but it didn't fix this problem...

cheers.
Back to top
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Jun 03, 2002 11:47 pm    Post subject: Re: Index.php and internal server error 500.. Reply with quote

Jack wrote:
Hi,

This probably belongs in the PHP section but here it goes anyway.

I have a PHP page that works fine under Abyss when I access it like so:

http://xx.xx.xx.xx/index.php

However when I connect to the webserver with just:

http://xx.xx.xx.xx/

I get a internal server error with code 500. Am I missing something?

Oh, and I have set the index files allowed in the server parameters section to include index.php.

And thanks for the new version, excellent job, but it didn't fix this problem...

cheers.

Please contact our support at support@aprelium.com and if possible send us the script which caused such a behaviour.

Thank you.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
trinit
-


Joined: 31 May 2002
Posts: 2
Location: Finland

PostPosted: Wed Jun 05, 2002 9:06 am    Post subject: Re: Index.php and internal server error 500.. Reply with quote

Jack wrote:
This probably belongs in the PHP section but here it goes anyway.

I have a PHP page that works fine under Abyss when I access it like so:

http://xx.xx.xx.xx/index.php

However when I connect to the webserver with just:

http://xx.xx.xx.xx/

I get a internal server error with code 500. Am I missing something?


I have the same problem. Error comes even with this PHP page:
Code:

<?php
    // index.php

    echo "<html><head><title>Test page</title></head><body>\n";
    echo "This is test page\n";
    echo "</body></html>";
   
?>


I'm using version 1.0.3
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Jun 05, 2002 7:15 pm    Post subject: Re: Index.php and internal server error 500.. Reply with quote

We were unable to reproduce the error. All worked fine in our tests.
So please, can you contact our support at support@aprelium.com and send them your abyss.conf file and the script which caused the error (if possible).

Thank you.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Guest






PostPosted: Wed Jun 05, 2002 8:23 pm    Post subject: Re: Index.php and internal server error 500.. Reply with quote

aprelium wrote:
We were unable to reproduce the error. All worked fine in our tests.
So please, can you contact our support at support@aprelium.com and send them your abyss.conf file and the script which caused the error (if possible).


OK. I just sended email to support with abyss.conf file and with the test script file.
Back to top
trinit
-


Joined: 31 May 2002
Posts: 2
Location: Finland

PostPosted: Fri Jun 07, 2002 8:50 am    Post subject: Reply with quote

Now it's working!

It started working when I changed from php.ini file line "doc_root" back to empty line. I was edited the line to point the root of the PHP pages when I installed PHP. Here is the php.ini from that point:
Code:

; The root of the PHP pages, used only if nonempty.
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
; if you are running php as a CGI under any web server (other than IIS)
; see documentation for security issues.  The alternate is to use the
; cgi.force_redirect configuration below
;doc_root = D:\Ohjelmointi\php  (old line)
doc_root =


[/code]
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Jun 07, 2002 3:24 pm    Post subject: Reply with quote

trinit wrote:
Now it's working!

It started working when I changed from php.ini file line "doc_root" back to empty line. I was edited the line to point the root of the PHP pages when I installed PHP. Here is the php.ini from that point:
Code:

; The root of the PHP pages, used only if nonempty.
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
; if you are running php as a CGI under any web server (other than IIS)
; see documentation for security issues.  The alternate is to use the
; cgi.force_redirect configuration below
;doc_root = D:\Ohjelmointi\php  (old line)
doc_root =


Great news ! Thank you for the post.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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


Powered by phpBB phpBB Group