#1  
Old 19th November 2007, 23:37
devilslayer devilslayer is offline
Junior Member
 
Join Date: Oct 2007
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
Default Server Error 500

500 Server Error

--------------------------------------------------------------------------------
Hello,

I am getting a 500 server error when I try to access any folder / file on my website except the index file that was created when I setup ISPConfig.

I have the website:

www.mydomain.com

I access ISP config with http://www.mydomain.com:81

When I go to www.mydomain.com I see the index.html file that was installed by ISPConfig:

Welcome to www.mydomain.com!
-----------------------------------------------------------------------
This is the standard index of your website. You can easily delete it or replace it with another file. This is the index.html file in the web directory.
For questions or problems please contact the server administrator.
--------------------------------------------------------------------------
powered by ISPConfig

I am trying to install a PHP community script and have uploaded it into the above domain.

/web/dolphin/

When I try to access the install folder I get an error:

500 error - Internal Server Error!

I have tried to access other files in this directory and I get the same error. The only file I seem to be able to access is the index.html holding page.

You can install a website on the same domain that ISP config is on?

www.mydomain.com - Website
www.mydomain.com:81 - ISPConfig control panel.

What am I doing wrong? My folder structure is below:

web
- dolphin (script i'm trying to install)
- stats
- error
- index.html (default index.html file)

Thanks for your help.
Reply With Quote
Sponsored Links
  #2  
Old 19th November 2007, 23:43
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 261
Thanked 147 Times in 128 Posts
Default

It's probably a .htaccess file causing this 500 error.
As test, remove or rename the .htaccess file, and see if you still get the error.

If not, you will need to look at you .htaccess, and see what is causing this error.
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #3  
Old 19th November 2007, 23:59
devilslayer devilslayer is offline
Junior Member
 
Join Date: Oct 2007
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
Default

There isn't a .htaccess file in that directory. Have you any other suggestions?
Reply With Quote
  #4  
Old 20th November 2007, 10:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,351
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
Default

Please post the error message that you get in the error.log of the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 20th November 2007, 21:30
devilslayer devilslayer is offline
Junior Member
 
Join Date: Oct 2007
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
Please post the error message that you get in the error.log of the website.
Till excuse my ignorance, but where do I find this error.log file?

Is it within the website?
Is it accessed via ISPConfig Control Panel
Do I have to login to server using ssh?
Reply With Quote
  #6  
Old 20th November 2007, 21:37
devilslayer devilslayer is offline
Junior Member
 
Join Date: Oct 2007
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
Default

Till,

I take it that it is this file you are on about. Located in the log directory of the website?

Code:
[Mon Nov 19 12:18:49 2007] [error] [client 66.249.73.40] File does not exist: /var/www/web1/web/robots.txt
[Mon Nov 19 13:11:23 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:12:26 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:12:51 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:14:29 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:17:46 2007] [error] [client 82.71.62.106] File does not exist: /var/www/web1/web/web
[Mon Nov 19 13:17:53 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:18:08 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:18:23 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:18:32 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:34:37 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:35:02 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:35:06 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 13:44:24 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 15:03:11 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
[Mon Nov 19 15:03:23 2007] [alert] [client 82.71.62.106] /var/www/web1/web/dolphin/.htaccess: php_flag not allowed here
The .htaccess file within the dolphion directory contains the following:
Quote:
php_flag register_globals Off
<IfModule mod_rewrite.c>
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule .+ - [L]
RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L]
</IfModule>

Last edited by devilslayer; 20th November 2007 at 21:40.
Reply With Quote
  #7  
Old 20th November 2007, 21:45
devilslayer devilslayer is offline
Junior Member
 
Join Date: Oct 2007
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
Default Update to problem

I have managed to start the installation of the Dolphin script. I renamed the .htaccess file.

Is this file important. I know that it is used to set directives in apache, but other than that I'm fairly clueless about it.
Reply With Quote
  #8  
Old 21st November 2007, 11:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,351
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
 
Default

You can try to copy the directives from the .htaccess file to the apache directives field of the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
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 On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
email redirection problem the_spy Installation/Configuration 3 21st May 2007 10:33
Rejecting outbound mail tristanlee85 General 11 20th May 2007 17:04
Dns question Mahir Installation/Configuration 48 14th November 2006 10:19
from http to https after installation? Mahir Installation/Configuration 25 7th December 2005 20:40
Mail server jas_esp Server Operation 1 7th December 2005 18:17


All times are GMT +2. The time now is 10:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.