View previous topic :: View next topic |
Author |
Message |
Jack Guest
|
Posted: Mon Jun 03, 2002 5:07 pm Post subject: Index.php and internal server error 500.. |
|
|
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
|
Posted: Mon Jun 03, 2002 11:47 pm Post subject: Re: Index.php and internal server error 500.. |
|
|
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 |
|
|
trinit -
Joined: 31 May 2002 Posts: 2 Location: Finland
|
Posted: Wed Jun 05, 2002 9:06 am Post subject: Re: Index.php and internal server error 500.. |
|
|
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 |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Jun 05, 2002 7:15 pm Post subject: Re: Index.php and internal server error 500.. |
|
|
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 |
|
|
Guest
|
Posted: Wed Jun 05, 2002 8:23 pm Post subject: Re: Index.php and internal server error 500.. |
|
|
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
|
Posted: Fri Jun 07, 2002 8:50 am Post subject: |
|
|
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 |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Jun 07, 2002 3:24 pm Post subject: |
|
|
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 |
|
|
|