Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
ejoy Posted October 18, 2014 Posted October 18, 2014 I cannot integrate my ad code from my IPS System>Ad Code Integration. while I go to submit it says: 403 Forbidden Access to this resource on the server is denied! Proudly powered by LiteSpeed Web Server Please be advised that LiteSpeed Technologies Inc. is not a web hosting company and, as such, has no control over content found on this site. What is the solutions ?????
ASTRAPI Posted October 18, 2014 Posted October 18, 2014 I will try to provide some blind recommendations as i don't have access to the server but you can try them :smile: Please keep a backup and previous settings in case that something is wrong with my recommendations so you can revert back easy :smile: First check if you know which folder is used for what you want to do and change permissions to 0755 . ( maybe uploads folder? ) Then try to adjust the settings here: Script Restricted Permission Mask under Admin Console => Configuration => Server => Security Also sounds like your web server running as user that Litespeed was not set to when you install it and you need to change permissions for user and group that Litespeed needs :smile: Next step is to check the .htaccess file by adding to it this: SecFilterEngine Off SecFilterScanPOST Off Try them and let us know :smile: Don't forget to restart the litespeed on every step .....
AndyF Posted October 18, 2014 Posted October 18, 2014 Could be a mod_sec issue as indicated. If that does not help I'd suggest contacting your host. A mod_sec issue is usually easily identified as its a 404 and a 403 combined. You get a not found and a forbidden message more or less "in one"
ejoy Posted October 19, 2014 Author Posted October 19, 2014 Hi ASTRAPI, I got remedy by adding two lines in .htaccess and the problem is solved. but I did not understand this "Then try to adjust the settings here: Script Restricted Permission Mask under Admin Console => Configuration => Server => Security" where I get it. Thanks,
ASTRAPI Posted October 19, 2014 Posted October 19, 2014 Script Directory Restricted Permission Mask : Description: Specifies the restricted permission mask of parent directories of script files that the web server will not serve. For example, to prohibit serving PHP scripts in a directory that is group and world writable, set the mask to 022. Default value is 000. This option can be used to prevent serving scripts under a directory of uploaded files. As you fix it then is not needed to change anything there :) Great to see your problem fixed ! Enjoy :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.