HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


bypassing mod_security issues

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#104982 (In Topic #20477)
Avatar

Fan in action

If all the issues/errors you are having are a result of mod_security on the shared hosting server that you are not able to access and modify the Mod_security settings...

Server A: the server where you can make changes to all areas withing the OCP-ACP (IE: settings and template/layout/blocks etc)
Server B: the server where you are having problems editing anything because of the host/server Mod_security settings)
  • Install fresh OCP on server "A"
  • Apply all template & configuration/setting changes
  • Install a fresh OCP on server "B"
  • EMPTY the Database on server B
  • Import OCP-DB from Server A to the now empty OCP-DB on Server B.
  • EMPTY the OCP Directory on Server B
  • Copy all files from OCP-Directory on Server A  into OCP-Directory, on Server B.
  • Don't forget to modify your config file to point to the correct DB usr/pass Dir. etc.

-----------------------------------

Yes, I know this would really only be a bandaid fix. In fact you would still have Mod_security issues on server B. However, this will make running a number of small (low resource / Low traffic) domains simple on a shared hosting account.

In all honesty, the best way to do things with the OCP would be to obtain Dedicated hosting. Or run your own servers.  
Back to the top
 
Posted
Rating:
#104985
Avatar

Community saint

DeGrincH said

Yes, I know this would really only be a bandaid fix. In fact you would still have Mod_security issues on server B.
Yes its a bainaid fix but its just hiding from the problem, which is that the host sux. If you have a host that is not willing to do simple mod_security whitelisting for you then they do not deserve your business and you do not deserve the headache of fighting with them to get anything done for you.

DeGrincH said

However, this will make running a number of small (low resource / Low traffic) domains simple on a shared hosting account.
No, not really, because it means you will have to go through a convouluted process every time you need to do anything.

While you might have your sight running on autopilot it does not mean you will never have to touch your site again.

DeGrincH said

In all honesty, the best way to do things with the OCP would be to obtain Dedicated hosting. Or run your own servers.
Simple for the ocPortal component, but then you have to manage the overall server security and maintenance yourself which is a lot of effort to get it right.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: