Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12172
Latest: LeaMoeller
New This Month: 14
New This Week: 1
New Today: 0
Stats
Total Posts: 39049
Total Topics: 6874
Most Online Today: 59
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 32
Total: 32

Author Topic: 403 forbidden error  (Read 529 times)

0 Members and 1 Guest are viewing this topic.

Offline Doughboy99

  • GDPR Pro
  • Full Member
  • *****
  • Posts: 126
    • View Profile
403 forbidden error
« on: January 20, 2018, 11:04:49 am »
Hello

We have recently moved servers and have an issue with 403 errors when trying to view or delete gallery images.

we have smf 7.0.15 and smf gallery pro 7.2.4
running on a litespeed server with php 7. Mod_security is not running.
Initially everything seemed to be working fine with smf gallery however we now get 403 forbidden errors when trying to view or delete images in the gallery. We can add images without issues.

Can you shed any light on what might be causing this please?

htaccess file contains the following

# PHP settings
php_value upload_max_filesize 256M
php_value post_max_size 256M
php_value memory_limit 1024M

php_value max_execution_time 3000
php_value max_input_vars 10000


# Error logging
#php_flag display_startup_errors on
#php_flag display_errors on
#php_flag html_errors on

# Block wp-config.php access
<files wp-config.php>
order allow,deny
deny from all
</files>

# Block the include-only files
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ - [F,L]
RewriteRule !^wp-includes/ - [S=3]
RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
RewriteRule ^wp-includes/theme-compat/ - [F,L]
</IfModule>

# BEGIN litespeed noabort
<IfModule Litespeed>
        RewriteEngine On
        RewriteRule .* - [E=noabort:1]
</IfModule>
# END litespeed noabort

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

# Exclude the file upload and WP CRON scripts from authentication
<FilesMatch "(async-upload\.php|wp-cron\.php|xmlrpc\.php)$">
    Satisfy Any
    Order allow,deny
    Allow from all
    Deny from none
</FilesMatch>

# Disable Directory Indexing and Browsing
Options -Indexes

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14551
    • View Profile
Re: 403 forbidden error
« Reply #1 on: January 20, 2018, 11:17:03 am »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Doughboy99

  • GDPR Pro
  • Full Member
  • *****
  • Posts: 126
    • View Profile
Re: 403 forbidden error
« Reply #2 on: January 20, 2018, 11:46:38 am »
Hi

This is a litespeed server and doesnt have mod_security running.

Doug

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14551
    • View Profile
Re: 403 forbidden error
« Reply #3 on: January 20, 2018, 12:02:53 pm »
That's the only reason I can think. You would need to check your webservers error logs.
It is a rule that is filtering ;id= in the url.
Otherwise you will have to do a find and replace of ;id= to &id= in all the gallery files.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
3953 Views
Last post August 23, 2007, 07:20:24 pm
by rumboogy
1 Replies
5051 Views
Last post September 11, 2007, 08:27:28 pm
by SMFHacks
2 Replies
5558 Views
Last post May 09, 2008, 02:33:12 pm
by RoFus
4 Replies
3384 Views
Last post October 09, 2011, 03:59:37 pm
by SMFHacks
16 Replies
1631 Views
Last post October 03, 2017, 08:49:37 pm
by drewactual

+- Recent Topics

link for users gallery from profile page by SMFHacks
August 20, 2018, 02:40:58 pm

[Mod]Tidy Child Boards 2.0 by SMFHacks
August 20, 2018, 01:32:43 pm

Admin View in Member's Profile of Dates for Accepting of PP and Reg Agreement by SMFHacks
August 18, 2018, 12:03:07 pm

Gallery2 Template Loading Error by SMFHacks
August 18, 2018, 12:02:12 pm

8: Undefined index: description by SMFHacks
August 17, 2018, 01:42:08 pm

It just does not send by SMFHacks
August 16, 2018, 11:03:06 pm

Ad beginning of post by SMFHacks
August 16, 2018, 10:22:58 pm

Agreement Date says NEVER by SMFHacks
August 14, 2018, 04:46:48 pm

HashTags system for SMF 2.0 released by Diego Andrés
August 12, 2018, 02:04:24 pm

Can the Store produce a unique code that you can sell? by SMFHacks
August 11, 2018, 11:43:32 am

Powered by EzPortal