473,775 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.htaccess syntax. Please help

2 New Member
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
Dec 24 '07 #1
1 2481
numberwhun
3,509 Recognized Expert Moderator Specialist
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
Dec 26 '07 #2

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

Similar topics

1
7697
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... specifically, i can't enter the newly created directory with a username of test, and a password of test, which is what i am trying to do. also, i'm testing this script out on a remote server, and... after this script runs, i can't delete any of the...
1
13190
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 or can I use for example a html form/mysql authentication and at the same time set some variables or headers (or something) so the user can access the ..htaccess part ? A stupid example: if user presses a button, user gets transferred to the...
7
7538
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 including the php.net manual. In the manual it said to include something like the following:
13
2549
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 in this directory, so the server asks a username and password. How to avoid this ??? Should I set the .htaccess file to allow GET, but how ??? and what would be the URL ??? directory tree:
2
2968
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 menu. SSI and PHP are accessible.. My Apache is installed in path C:\Apache2\ My homepage is in D:\Daten\htdocs\effektiv\familienzentrum.com\ and is named http://fzt.local/
3
2130
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 redirecting, I see many different examples of methods. I wish to be able to say "this is good method that I can always use" even if exists other good methods. I wish not be confused by many different examples of methods.
0
2172
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 application/x-httpd-php5 .php AddType x-mapp-php5 .php Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} -d
1
1441
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 codes how can i do it. i want this format http://www.example.com/example instead of the following format http://www.example.com/example.php?pageid=20 Please help to me.
1
2735
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/ Unfortunately my full site is returning Internal Server Errors now. I've tried restoring the original .htaccess but it's not solving the problem. I still have access to Control Panel and FTP. My site is running a Wordpress installation and the original...
0
9621
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10267
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9915
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5358
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2852
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.