Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    2

    Default 2 Questions

    Hi there,

    I currently lease a VPS semi-managed server and turned it into a free web hosting service.

    cPanel 11.24.5-S38506 - WHM 11.24.2 - X 3.9

    CENTOS 5.4 i686 virtuozzo on ******

    Fully Licensed.

    1.) Our members are asking for edits such as register_globals off/on and basedir enabled/disabled without having to create their own .htaccess and ini files and placing them in the directories they need.

    As you can see above the WHM / cPanel are up to date but when I edit the features manager php.ini EZConfig is not available for an option to select for my members.

    Does any one know how to fix this ? There is nothing online about this matter what key words you type in. cPanel forums also has nothing on this particular topic for ezconfig.

    2.) cpanel3-skel

    On my other dedicated server this shows so I can create random placeholder pages. But on the VPS I do not see cpanel3-skel any where. How do I add this directory?

    Note: I do not use SSH. I use the WHM via Browser and I use WinSCP to edit or access the root directory of the VPS.

    Thank you in advance.
    Last edited by virile; 11-13-2009 at 01:32 AM.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2003
    Location
    NC
    Posts
    725
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    That config is a global config. If you want to do php.ini differently for different people enable SuPHP and put a php.ini into their public_html. Since they do not want to do it you can modify it for them yourself.

    I would be really careful about this...sounds like a receipt for disaster and opening yourself up to abuse. Free webhosting can be a pretty risky thing and warez/exploits are common.

  3. #3
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Lightbulb

    You would have to be a moron to allow for custom PHP configs for a FREE hosting service

    (And I am using the word "moron" deliberately here to amplify the seriousness of the security risk you pose to yourself doing that)

    Quote Originally Posted by eth00
    That config is a global config. If you want to do php.ini differently for different people enable SuPHP and put a php.ini into their public_html. Since they do not want to do it you can modify it for them yourself.
    I agree on the recommendation for SuPHP but DO NOT ever put a PHP.INI in the user's "public_html" or allow that function!

    Doing so will enable the user to override **ALL** PHP settings and will result in a much bigger security hole than if you were just simply running insecure Apache module (DSO) based PHP which is at least partially limited in configuration override access!

    There is much better ways to setup custom access that this which don't open yourself to such an enormous security risk!

  4. #4
    Registered User
    Join Date
    Nov 2009
    Posts
    2

    Default

    As for being blunt and saying I would have to be a moron, I didn't enable anything yet. However I agree and I will be more specific next time I ask for user support and suggestions here. The VPS is a new service I started on top of the shared server I run and offer free hosting on.

    Some account holders on the VPS are complaining because they do not have these personal setting options like they did when they were on the shared server. (I got some members to transfer to the vps). So I am in this position now trying to set up personal setting options like I have on the dedicated shared server.

    @ Spiral, your website page has file:///D:/MSE/services.html as link on your services page.

    I am greatful for your feedback; what else do you recommend?
    Last edited by virile; 11-13-2009 at 06:55 PM.

  5. #5
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb Friendly Moderator Warning

    Quote Originally Posted by Spiral View Post
    You would have to be a moron to allow for custom PHP configs for a FREE hosting service

    (And I am using the word "moron" deliberately here to amplify the seriousness of the security risk you pose to yourself doing that)
    Please refrain from using derogatory remarks when trying to help others; stating your personal opinion is acceptable but I will politely ask that when posting the behavior remains professional and courteous to fellow forum users.

    Each server operator and or business owner may decide for themselves the specific configurations they wish to allow, disallow, or otherwise use as it relates to the policies and types of sites or customers they wish to host.

    Here is an example of how the message could be rewritten:
    In my opinion, I believe that when in a shared hosting environment it would not be wise to allow users the ability to create and use custom PHP configuration (php.ini) files due to the potential risk of abuse. This may be something to consider when devising administrative policies (e.g., AUP & TOS).

Similar Threads & Tags
Similar threads

  1. Just A Few Questions! Help Please
    By smoke_kills in forum New User Questions
    Replies: 5
    Last Post: 08-08-2008, 12:29 PM
  2. A few questions
    By peppos in forum New User Questions
    Replies: 0
    Last Post: 06-19-2007, 07:36 AM
  3. Few questions
    By jaymc in forum Data Protection
    Replies: 1
    Last Post: 04-03-2005, 01:12 PM
  4. 2 questions
    By Esr Tek in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-11-2003, 08:23 AM
  5. Few questions
    By nkisberg2000 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-26-2003, 05:31 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube