httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tib <...@tigerknight.org>
Subject Re: [users@httpd] htaccess problem - apache 2.0.36, php 4.1.2
Date Mon, 02 Sep 2002 23:02:50 GMT

The htaccess file in question is absolutely empty. It was a file that was 
touched by the configuration script and nothing else has been done with 
it. <:] I'm stumped. 



On Mon, 2 Sep 2002, Chris Taylor wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> What is the content of the .htaccess file you mentioned at the end?
> This seems to be the problem based on the content of the error
> message.
> 
> Thanks.
> 
> Chris Taylor - The guy with the PS2 WebServer
> Email: chris@x-bb.org - PGP: http://www.x-bb.org/chris.asc
> 
> - ----- Original Message ----- 
> From: "Tib" <tib@tigerknight.org>
> To: <users@httpd.apache.org>
> Sent: Monday, September 02, 2002 11:41 PM
> Subject: Re: [users@httpd] htaccess problem - apache 2.0.36, php
> 4.1.2
> 
> 
> > 
> > Gallery complains about two things in relation to the htaccess
> > file. If  you like you can check out
> > www.tigerknight.org/~tib/gallery/setup/ to see  it yourself if that
> > would help, but here's the two things it complains  about (note
> > that gallery still functions adequately, but not at 100%):  
> > 
> > 1.
> > 
> > Allow the Gallery .htaccess file to set application specific
> > configuration  options for the Gallery application. This is
> > controlled by the webserver  owner so it's not always possible for
> > you to change it. The main drawbacks  to not having this are that
> > you may not be able to upload files > 2MB (eg,  big ZIP files) and
> > you may not be able to use mod_rewrite (see below).     Warning!
> > 
> > 
> > Apache is not obeying your .htaccess file. Try entering the
> > following into  your web server's httpd.conf file: 
> > 
> > <Directory /home/tib/public_html/gallery>
> > AllowOverride Options FileInfo
> > </Directory>
> >  
> > 
> > 2.
> > 
> > Check to see if your webserver is compiled with mod_rewrite.
> > Mod_rewrite  allows the Gallery to use shorter URLs that are easier
> > to read and look  nicer when you mail them to your web-challenged
> > relatives. It's not an  essential feature.    
> > 
> > Warning!
> > 
> > Either mod_rewrite is not installed or your .htaccess file is not
> > enabled  (see above). Either way, we'll have to use longer URLs in
> > the Gallery. If  you want to turn it on I'd suggest that you make
> > sure that your .htaccess  file works and then if it still doesn't
> > work you may need to reconfigure  and rebuild Apache with this
> > flag:
> > --enable-module=rewrite 
> > 
> > --------------------------
> > 
> > Mod-rewrite was directly built into the httpd binary, as it is a
> > function  that gets used regularly by some of the other programs I
> > use.
> > 
> > The directory blocks you asked about are as follows:
> > 
> > <Directory />
> >     Options FollowSymLinks
> >     AllowOverride None
> > </Directory>
> > 
> > This one has always been like this (above), I am fairly
> > inexperienced with  some specific functions like the allow override
> > directives and such.. so I  don't mess with them much.
> > 
> > <Directory "/home/tib/public_html/gallery">
> >     AllowOverride Options FileInfo
> > </Directory>
> > 
> > This is what Gallery asked me to put in httpd.conf if the setup url
> > was  complaining about not having proper htaccess abilities. But
> > when I did, I  got the following 500 error:
> > 
> > Error message: 
> > /home/tib/public_html/gallery/setup/.htaccess: Invalid command
> > 'php_flag',  perhaps mis-spelled or defined by a module not
> > included in the server  configuration 
> > 
> > 
> > Hope this helps, I appreciate your time. :]
> > 
> > <EOL>
> > Tib
> > 
> > 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message