473,396 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

.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\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
1 2461
numberwhun
3,509 Expert Mod 2GB
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

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

Similar topics

1
by: yawnmoth | last post by:
i'm trying to write a php script that will password protect some random directory by creating a .htaccess file, and a password file to accompany the .htaccess file, and it isn't working... ...
1
by: Marko Lahtinen | last post by:
Hello! A part of my website is protected with a .htaccess file. Can I somehow bypass the username/password dialog ?? Can I somehow "hardcode" the authentication name and password in my php-file...
7
by: John | last post by:
Hello. I want to get this blasted .htaccess file sorted out, so I can have sessions without register_globals being on. I have looked everywhere for info on this and I mean everywhere...
13
by: Bob Bedford | last post by:
I've protected a directory with an .htaccess file. I'd like some of the files in this directory to be accessible by a scheduler that runs an "URL". The problem is that the scheduler runs scripts...
2
by: Lothar Bayer | last post by:
Hallo, I want zu install a security-path with .htaccess and .htpasswd on my privat local machine (for test-reason) I succeeded with a .htaccess and Error 404-adressing a special Error-page with...
3
by: Vardan Kushnir | last post by:
Please forgive me if my English is poor. Also please tell me if this is wrong place to ask this question and tell me better place. When searching web for information Re: .htaccess and...
0
by: xiaawan | last post by:
Hi All, Can Anyone help me to solve this problem. Actually I have two urls and I want both of them to work at the same time for different urls. here is my .htaccess code. AddHandler...
1
by: saravanatmm | last post by:
I have used htaccess file for static page. for example I have used the url for about us page But how can i do the htaccess for argument. could u please give me explanation for htaccess and...
1
by: dominoeffect | last post by:
Hi all, I (hastily) updated my .htaccess to include this 3G blacklist which blocks scrapers, hackers and the like. perishablepress.com/press/2008/05/13/perishable-press-3g-blacklist/ ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.