Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

htaccess include_path doesn't work

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Setting mod_bandwidth limit based on what the use..  
Author Message
user2981

External


Since: Sep 23, 2004
Posts: 2



(Msg. 1) Posted: Thu Sep 23, 2004 7:07 pm
Post subject: htaccess include_path doesn't work
Archived from groups: alt>apache>configuration (more info?)

Hi

I tried getting help from alt.comp.lang.php and got no response so I'm
hoping there's
a guru here that would help me.

I'm trying to set a 'default' include path for the entire site using an
..htaccess file but it doesn't work. The include path always remains the same
and it tells me it can't find the file. The htaccess file is in the root of
the site which is run under Apache & Linux. Any idea what I could be doing
wrong?

My .htaccess file is simply this :

php_value include_path /var/www/html/R2/htdocs/includes

Thanks
Chris

 >> Stay informed about: htaccess include_path doesn't work 
Back to top
Login to vote
spam3

External


Since: Jul 01, 2003
Posts: 411



(Msg. 2) Posted: Fri Sep 24, 2004 10:49 pm
Post subject: Re: htaccess include_path doesn't work [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Chris Allen wrote:

 > Hi
 >
 > I tried getting help from alt.comp.lang.php and got no response so I'm
 > hoping there's
 > a guru here that would help me.
 >
 > I'm trying to set a 'default' include path for the entire site using an
 > .htaccess file but it doesn't work. The include path always remains the same
 > and it tells me it can't find the file. The htaccess file is in the root of
 > the site which is run under Apache & Linux. Any idea what I could be doing
 > wrong?
 >
 > My .htaccess file is simply this :
 >
 > php_value include_path /var/www/html/R2/htdocs/includes

try:
php_value include_path "/var/www/html/R2/htdocs/includes"

If that fails, be sure that AllowOverrides = All for your domain in
httpd.conf

Also, try using comp.lang.php - it's a *much* better group! Wink

--
Justin Koivisto - spam DeleteThis @koivi.com
<a style='text-decoration: underline;' href="http://www.koivi.com" target="_blank">http://www.koivi.com</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: htaccess include_path doesn't work 
Back to top
Login to vote
user2981

External


Since: Sep 23, 2004
Posts: 2



(Msg. 3) Posted: Mon Sep 27, 2004 11:21 am
Post subject: Re: htaccess include_path doesn't work [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Justin,

Thanks for your reply. I'll use the other group in future. I don't have
access to http.conf so I think that's the problem.

Chris

"Justin Koivisto" <spam DeleteThis @koivi.com> wrote in message
news:hT_4d.197$AU4.9677@news7.onvoy.net...
 > Chris Allen wrote:
 >
  > > Hi
  > >
  > > I tried getting help from alt.comp.lang.php and got no response so I'm
  > > hoping there's
  > > a guru here that would help me.
  > >
  > > I'm trying to set a 'default' include path for the entire site using an
  > > .htaccess file but it doesn't work. The include path always remains the
same
  > > and it tells me it can't find the file. The htaccess file is in the root
of
  > > the site which is run under Apache & Linux. Any idea what I could be
doing
  > > wrong?
  > >
  > > My .htaccess file is simply this :
  > >
  > > php_value include_path /var/www/html/R2/htdocs/includes
 >
 > try:
 > php_value include_path "/var/www/html/R2/htdocs/includes"
 >
 > If that fails, be sure that AllowOverrides = All for your domain in
 > httpd.conf
 >
 > Also, try using comp.lang.php - it's a *much* better group! Wink
 >
 > --
 > Justin Koivisto - spam DeleteThis @koivi.com
<font color=purple> > <a style='text-decoration: underline;' href="http://www.koivi.com</font" target="_blank">http://www.koivi.com</font</a>><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: htaccess include_path doesn't work 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
htaccess doesn't work - hi, i made an htaccess file with htpasswd file but it didn't seem to worl on that directory. so i have to make an entry in httpd.conf for using htaccess?

I cant get .htaccess to work - I am runnning apache on SuSE 7.2 pro, I have several Virtual hosts all working correctly - I want to password protect one of the directories. but it doesnt want to work. I have added into the httpd.conf as follows <VirtualHost 212.19.66.163:80> ...

htaccess password won't work... - Hi, I getting a bit insane of the .htaccess stuff... I just trying out how to set a password to a directory on my windows notebook. Now I've set all files in the root. The request for a password is fine but it won't accept mine... In all the examples...

.htaccess: why??? - Hi. Sorry for my english, but I don't know it very well. I have a problem with .htaccess. My file .htaccess is this: ====BEGIN======== AddType text/plain .log =====END========= I made it because my apache web server (provider aruba) associate to .log....

htaccess & SSL - I would like to control with htaccess the acces for one directory of my site. But I don't know how to configure my htaccess to limit the access from "https://". Thank's Edz ...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]