[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 183
  • Last Modified:

PHP Security - phpSuExec - Server wide shared include folder

I have a dedicated server running phpSuExec.

I do not really want to lower the security level to 3.1 compatibility mode (non-phpSuExec) .

I do want to have a server wide include folder, that all sites on the server can share.

Is this possible? And if so what is the best way to proceed?

Thanks?
0
Luv2Muff
Asked:
Luv2Muff
  • 3
  • 2
1 Solution
 
orbic1Commented:
If you are using IIS, just set up a virtual directory in each account pointing to wherever you need it to. In Apache, I think this is possible too.
0
 
Luv2MuffAuthor Commented:
Soory, I should have said that I am using Linux, apologies.
0
 
orbic1Commented:
Hi - no problem! Your answer is here:

http://www.golivein24.com/tips/dynamic_content/03_apache_alias.html

I've used these instructions and they've worked for me! Let us know how you get on!
0
 
Luv2MuffAuthor Commented:
Hi,

Thanks for the link. I cannot see how that solution is going to work if I am running running phpSuExec.

Please can you confirm and explain further?

Thanks,

Luv2.
0
 
orbic1Commented:
All you are doing with that solutions is using a common shared virtual directory. phpsuexec should stop including and sharing resources between sites that are not explicitly unshared.

That is - you can set up a virtual directory for each site. This should work. There is nothing stopping you from creating the virtual directory with the same path. As far as apache or php knows, they could be completely different. Try it. If it doesn;t work then fine. If it does, problem solved!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now