By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,637 Members | 1,945 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,637 IT Pros & Developers. It's quick & easy.

.htaccess syntax. Please help

P: 2
Hi,

I hope someone can help me - this seems like it should be a really simple problem but I've been having trouble trying to solve it all week.

I have hosted my website on a Linux server in 1 and 1 and I can not modefiy the Apache server. They told me I need to create the .htaccess file.

The code that I put in my .htaccess file is:

php_value include_path "/bioconstore/lib:/plate-latest"

corresponding to this code that I have in my httpd.conf in my personal computer

<VirtualHost *:80>
DocumentRoot c:\BIOCON\bioconstore\web
ServerName biocon
ServerAlias biocon
php_value include_path "c:\BIOCON\bioconstore\lib;c:\BIOCON\plate-latest"
</VirtualHost>

but I get the following error message when I type url

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Additionally, a 500 Internal Server Error error was encountered while trying to use an Error Document to handle the request.

Please, please, please could someone explain to me in very basic language what I need to do. I'm a desperate!!!

Thanks very much for reading, and hopefully hear from someone soon!

Yours,

Sean
Dec 24 '07 #1
Share this Question
Share on Google+
1 Reply


numberwhun
Expert Mod 2.5K+
P: 3,503
Hi,

I hope someone can help me - this seems like it should be a really simple problem but I've been having trouble trying to solve it all week.

I have hosted my website on a Linux server in 1 and 1 and I can not modefiy the Apache server. They told me I need to create the .htaccess file.

The code that I put in my .htaccess file is:

php_value include_path "/bioconstore/lib:/plate-latest"

corresponding to this code that I have in my httpd.conf in my personal computer

<VirtualHost *:80>
DocumentRoot c:\BIOCON\bioconstore\web
ServerName biocon
ServerAlias biocon
php_value include_path "c:\BIOCON\bioconstore\lib;c:\BIOCON\plate-latest"
</VirtualHost>

but I get the following error message when I type url

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Additionally, a 500 Internal Server Error error was encountered while trying to use an Error Document to handle the request.

Please, please, please could someone explain to me in very basic language what I need to do. I'm a desperate!!!

Thanks very much for reading, and hopefully hear from someone soon!

Yours,

Sean
I have not done terribly much with the .htaccess file, but I hope that this link will help you with your issue.

Regards,

Jeff
Dec 26 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.