.htaccess syntax. Please help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sean128
    New Member
    • Dec 2007
    • 2

    .htaccess syntax. Please help

    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\bioco nstore\web
    ServerName biocon
    ServerAlias biocon
    php_value include_path "c:\BIOCON\bioc onstore\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 misconfiguratio n 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
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    Originally posted by Sean128
    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\bioco nstore\web
    ServerName biocon
    ServerAlias biocon
    php_value include_path "c:\BIOCON\bioc onstore\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 misconfiguratio n 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

    Comment

    Working...