httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Taylor" <ch...@x-bb.org>
Subject Re: [users@httpd] htaccess problem - apache 2.0.36, php 4.1.2
Date Mon, 02 Sep 2002 22:59:50 GMT
-----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
> 
> 
> On Sun, 1 Sep 2002, Chris Taylor wrote:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Does Gallery work correctly if you *don't* assign it a specific
> > Directory block with those options set?
> > 
> > Also, what Options do you have set for the overall config , ie:
> > do you have AllowOverride All set at the level of the webroot? If
> > this is the case, you don't need to  worry about Gallery having a
> > separate block.
> > 
> > If possible, could you copy and paste the relevant Directory
> > blocks etc from your config please?
> > 
> > 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: Sunday, September 01, 2002 2:59 AM
> > Subject: Re: [users@httpd] htaccess problem - apache 2.0.36, php
> > 4.1.2
> > 
> > 
> > > 
> > > 
> > > Nope, I added the directory block to httpd.conf. It's my
> > > server.   
> > > 
> > > <EOL>
> > > Tib
> > > 
> > > 
> > > On Sun, 1 Sep 2002, Chris Taylor wrote:
> > > 
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > > 
> > > > Sorry if I've missed it, but are you saying you added a
> > > > <Directory> block to .htaccess?
> > > > 
> > > > If you have done so, that'll be your problem, the scope of
> > > > <Directory> is "server config, virtual host" according to the
> > > > docs:
> > > > http://httpd.apache.org/docs-2.0/mod/core.html#directory  
> > > > 
> > > > If you don't have access to Apache's httpd.conf, I'd suggest
> > > > you forget about this, but if you do, I think you'd find that
> > > > "Options Fileinfo" will already be set (you can use .htaccess
> > > > files, and I'd consider Fileinfo to be of lower risk to the
> > > > admin).
> > > > 
> > > > 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: Saturday, August 31, 2002 1:40 AM
> > > > Subject: [users@httpd] htaccess problem - apache 2.0.36, php
> > > > 4.1.2  
> > > > 
> > > > 
> > > > > 
> > > > > I'm trying to use gallery (gallery.sourceforge.net) and I
> > > > > have run into a  problem with htaccess. In gallery's setup
> > > > > they say you'll get the best  performance from the app if
> > > > > you setup a Directory section for where it's  located with
> > > > > the option: AllowOverride Options FileInfo. I did this and 
> > > > > restarted apache, but as soon as I did it gave me an error
> > > > > of 500 and a  complaint about a problem with php_flag. 
> > > > > 
> > > > > Gallery's FAQ says this is something that happens once in a
> > > > > while and to  comment out whatever line in the .htaccess
> > > > > file that has php_X (whatever  it is that's complaining),
> > > > > but my htaccess file is completely empty.  
> > > > > 
> > > > > Anyone have any enlightening ideas?
> > > > > 
> > > > > <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 
> > > > 
> > > > -----BEGIN PGP SIGNATURE-----
> > > > Version: PGPfreeware 7.0.3 for non-commercial use
> > > > <http://www.pgp.com>  
> > > > 
> > > > iQA/AwUBPXFeLiqf8lmE2RZkEQLVQACg0UIXUTb/iX8IJ1rQLi7kmbaX2DYAoO
> > > > lz KSG7ashl88tADVVmkn3tm20+
> > > > =597X
> > > > -----END PGP SIGNATURE-----
> > > > 
> > > > 
> > > > 
> > > > --------------------------------------------------------------
> > > > ---- --- 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  
> > > > 
> > > 
> > > 
> > > ----------------------------------------------------------------
> > > ---- - 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 
> > 
> > -----BEGIN PGP SIGNATURE-----
> > Version: PGPfreeware 7.0.3 for non-commercial use
> > <http://www.pgp.com>  
> > 
> > iQA/AwUBPXH9diqf8lmE2RZkEQJPnACffSSzPXZSrOvg/FIlaxocfnmBhSUAoLFt
> > FUgWyxrXAz6qlnP7vuXSDidK
> > =H85y
> > -----END PGP SIGNATURE-----
> > 
> > 
> > 
> > ------------------------------------------------------------------
> > --- 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
> > 
> 
> 
> 
> --------------------------------------------------------------------
> - 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

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPXPtYyqf8lmE2RZkEQIfNQCfX6M7wZj9jtehGozVgQU4r7NSLVwAnjPy
Ah1sn6oh5QX9l5eH10xuXZRW
=gurw
-----END PGP SIGNATURE-----



---------------------------------------------------------------------
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