coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: MikeD on December 29, 2005, 08:33:41 AM

Title: Whole directory 403'd - fixed!
Post by: MikeD on December 29, 2005, 08:33:41 AM
For reference, the gallery is located at ekahn.com/totsepics

One day the whole thing decided to not allow anyone in, saying it was 403 forbidden.  I tried uploading the new version released a few days ago, same problem.  Any idea why I can't access any files?  The recent changes I made were in the config, changing the header text.

I can access everything via ftp or the cpanel, just not http.  I should also mention I am the webhost.

Any ideas how I can fix this?

Thanks
Title: Re: Whole directory foobared
Post by: Nibbler on December 29, 2005, 08:41:06 AM
Seems like the same issue as http://forum.coppermine-gallery.net/index.php?topic=25656.0

I'd suggest you contact your host.
Title: Re: Whole directory foobared
Post by: MikeD on December 29, 2005, 09:06:58 AM
I am the host :p  I'll edit that into the OP
Title: Re: Whole directory foobared
Post by: Joachim Müller on December 29, 2005, 09:11:55 AM
I suggest reviewing the whole idea of self-hosting.
Title: Re: Whole directory foobared
Post by: MikeD on January 08, 2006, 09:56:38 PM
I figured out the problem.  I don't think it was a hosting problem, but coppermine's.  I removed the line:

Options FollowSymLinks SymLinksIfOwnerMatch

from .htaccess in the gallery directory, and then everything worked again.
Title: Re: Whole directory 403'd - fixed!
Post by: Tranz on January 08, 2006, 10:37:49 PM
How is it Coppermine's problem? Coppermine doesn't create that file.
Title: Re: Whole directory 403'd - fixed!
Post by: MikeD on January 08, 2006, 11:18:45 PM
Coppermine didn't create this?


##  ********************************************
##  Coppermine Photo Gallery
##  ************************
##  Copyright (c) 2003-2005 Coppermine Dev Team
##  v1.1 originaly written by Gregory DEMAR
##
##  This program is free software; you can redistribute it and/or modify
##  it under the terms of the GNU General Public License as published by
##  the Free Software Foundation; either version 2 of the License, or
##  (at your option) any later version.
##  ********************************************
##  Coppermine version: 1.4.2
##  $Source: /cvsroot/coppermine/devel/plugins/sef_urls/ht.txt,v $
##  $Revision: 1.4 $
##  $Author: gaugau $
##  $Date: 2005/11/23 07:59:23 $
##  ********************************************

Options FollowSymLinks SymLinksIfOwnerMatch

RewriteEngine on

#  Uncomment the following line if your webserver's
#  URL is not directly related to physical file paths.
#  Update "YOUR_COPPERMINE_ROOT" (just / for root)

#RewriteBase /YOUR_COPPERMINE_ROOT

#
# Rewrite index urls
#
RewriteRule index-([0-9]*)\.html index.php?cat=$1 [NC]

#
# Rewrite thumbnail urls
#
RewriteRule thumbnails-([a-z0-9]*)-([0-9]*)\.html thumbnails.php?album=$1&cat=$2 [NC]

RewriteRule thumbnails-([a-z0-9]*)-page-([0-9]*)\.html thumbnails.php?album=$1&page=$2 [NC]

RewriteRule thumbnails-([a-z0-9]*)\.html thumbnails.php?album=$1 [NC]


#
# Rewrite displayimage urls
#
RewriteRule displayimage-([a-z0-9]+)-([0-9]+)-([\-]?[0-9]+)\.html displayimage.php?album=$1&cat=$2&pos=$3 [NC]

RewriteRule displayimage-([a-z0-9]+)-([\-]?[0-9]+)\.html displayimage.php?album=$1&pos=$2 [NC]

RewriteRule displayimage-([\-]?[[0-9]*)\.html displayimage.php?pos=$1 [NC]


Title: Re: Whole directory 403'd - fixed!
Post by: Tranz on January 08, 2006, 11:29:26 PM
Not by default. It's an optional plugin.
Title: Re: Whole directory 403'd - fixed!
Post by: Joachim Müller on January 09, 2006, 08:36:11 AM
it's even an experimental plugin that is only recommended for advanced users - it's flagged accordingly.