LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-04-2009, 09:09 PM   #1
liang3391
LQ Newbie
 
Registered: May 2009
Posts: 20

Rep: Reputation: 0
cpanel apache


I tested on two servers, one is the cpanel of the host, a manually compiled environment. cpanel user directory / home / tttttco / public_html, and the apache configuration file is written in this form below:
<IfModule Concurrent_php.c>
php4_admin_value open_basedir "/ home / tttttco: / usr / lib / php: / usr/php4/lib/php: / usr / local / lib / php: / usr/local/php4/lib/php: / tmp"
php5_admin_value open_basedir "/ home / tttttco: / usr / lib / php: / usr / local / lib / php: / tmp"
</ IfModule>
<IfModule !concurrent_php.c>
<IfModule Mod_php4.c>
php_admin_value open_basedir "/ home / tttttco: / usr / lib / php: / usr/php4/lib/php: / usr / local / lib / php: / usr/local/php4/lib/php: / tmp"
</ IfModule>
<IfModule Mod_php5.c>
php_admin_value open_basedir "/ home / tttttco: / usr / lib / php: / usr / local / lib / php: / tmp"
</ IfModule>
<IfModule Sapi_apache2.c>
php_admin_value open_basedir "/ home / tttttco: / usr / lib / php: / usr/php4/lib/php: / usr / local / lib / php: / usr/local/php4/lib/php: / tmp"
</ IfModule>


I manually compiled the environment is as follows:
php_admin_value open_basedir / home / tttttco / public_html

When tested with webshell that cpanel host, the user can not access other users directories, but also be able to access, such as / usr / etc directory and so on. I manually compiled the mainframe environment, users have been locked in their own directory, the directory can not access any of the other. I would like to cpanel host, apache is also set, the user can only access its own directory, an absolute lock-up.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lighttpd, apache, cpanel issue. Trife Linux - Software 0 06-02-2009 04:18 AM
How do install cpanel apache ? NASGuy1 Linux - Newbie 0 11-16-2008 11:52 AM
Help! Why am I getting Apache message about CPanel & WHM websissy Linux - Server 1 11-13-2008 05:52 PM
Which is the best web administration for software for configuring apache? Like Cpanel mexicoshanty Linux - Software 1 05-19-2006 08:34 AM
Apache on Linux: .htaccess settings and cPanel WhatsOnYourBrain Linux - Networking 1 04-17-2006 08:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration