{"id":21,"date":"2009-07-29T23:32:36","date_gmt":"2009-07-30T05:32:36","guid":{"rendered":"http:\/\/blog.supportpro.com\/?p=21"},"modified":"2023-07-27T02:10:24","modified_gmt":"2023-07-27T08:10:24","slug":"brief-intro-about-cphulk-mod_userdir-open_basedir","status":"publish","type":"post","link":"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/","title":{"rendered":"Brief intro about mod_userdir | open_basedir"},"content":{"rendered":"<p><span style=\"text-decoration: underline;\"><strong>mod_userdir<\/strong><\/span><\/p>\n<p>It is an Apache module that allows you to create a separate website for each user on a server. These sites can all be accessed by going to,<\/p>\n<p><em>http:\/\/servername.com\/~username<\/em><\/p>\n<p><em>Eg:- http:\/\/example.com\/~user\/<\/em><\/p>\n<p>The module is installed on most Apache setups by default, but isnt necessarily always enabled. Most mass-hosted cPanel servers make extensive use of it for a variety of reasons.<\/p>\n<p>Apaches mod_userdir allows users to view their sites by entering a tilde(~) and their username as the URL on a specific host. For example http:\/\/test.cpanel.net\/~test will bring up the user Tests domain<\/p>\n<p><strong><span style=\"text-decoration: underline;\">How To Enable<\/span> <\/strong><\/p>\n<p>1. To access the Server Setup Menu, click on Server Setup, on the main screen of your WebHost Manager interface. Then, click on Tweak Security.<\/p>\n<p>2. Click on Configure in the mod_userdir Tweak section.<\/p>\n<p>3. Click on the Checkbox next to Enable mod_userdir Protection to enable mod_userdir Protection.<\/p>\n<p>4. Click on a checkbox next to a domains name to allow them to access their domain using ~username, if necessary.<\/p>\n<p>5. Enter the name of any user you wish to be able access the domain using ~username, other than the domains owner, in the blank field next to the domains name, if necessary.<\/p>\n<p>6. Click on Save.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Disadvantage <\/strong><\/span><\/p>\n<p>The disadvantage of this feature is that any bandwidth usage used by the site will be put on the domain it is accessed under .<\/p>\n<p>Mod_userdir protection prevents access to a domain through domain.com\/~user. You may however want to disable it on specific virtual hosts (generally shared SSL hosts).<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>open_basedir<\/strong><\/span><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Enable open_basedir<\/strong><\/span><\/p>\n<p>Set open_basedir to only allow access to required portions of the filesystem, like your web sites documents and any shared libraries.<\/p>\n<p>You can set open_basedir in the php.ini file:<\/p>\n<p><em>; Set open_basedir to the <\/em><\/p>\n<p><em>open_basedir = \/var\/www\/foo.bar\/:\/usr\/local\/php\/<\/em><\/p>\n<p>The setting can also be applied in apaches httpd.conf file, or an .htaccess file:<\/p>\n<p># Set open_basedir to a safe location<\/p>\n<p><em>php_value open_basedir \/var\/www\/foo.bar\/:\/usr\/local\/php<\/em><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>WHM<\/strong><\/span><\/p>\n<p>Steps :<\/p>\n<p>1. To access the PHP open_basedir Tweak feature, click on Security, on the main screen of your WebHost Manager interface.<\/p>\n<p>2. Then click on Security Center.<\/p>\n<p>3. Then click on PHP open_basedir Tweak.<\/p>\n<p>4. Click on Configure in the PHPs open_basedir section.<\/p>\n<p>5. Click on the check box next to Enable PHP open_basedir Protection to enable Enable PHP open_basedir Protection.<\/p>\n<p>6. Click on a check box next to a domain name to allow them to open files outside of their home directory with PHP, if necessary.<\/p>\n<p>7. Click on Save.<br \/>\n<strong>Plesk : <\/strong>If you&#8217;re using Plesk hosting control panel, you may need to manually edit Apache configuration file of vhost.conf and vhost_ssl.conf, and add in or edit the following php_admin_value open_basedir lines to the following:<\/p>\n<p>&lt;Directory \/full\/path\/to\/the\/directory\/httpdocs&gt;<\/p>\n<p>php_admin_value open_basedir none<\/p>\n<p>&lt;\/Directory&gt;<\/p>\n<p>&lt;Directory \/full\/path\/to\/the\/directory\/httpdocs&gt;<\/p>\n<p>php_admin_value open_basedir \/full\/path\/to\/dir:\/full\/path\/to\/directory\/httpdocs:\/tmp<\/p>\n<p>&lt;\/Directory&gt;<br \/>\nNote: For SSL hosts in the vhost_ssl.conf file, the Directory path will end with httpsdocs instead of httpdocs<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Disable Manually<\/strong><\/span><\/p>\n<p>Open up the httpd.conf file, and search for the lines that starts with the following characters:<\/p>\n<p>php_admin_value open_basedir ..<\/p>\n<p>Replace the whole line under the virtual host for the domain user account<\/p>\n<p>php_admin_value open_basedir none.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Add Additional Directories<\/strong><\/span><br \/>\nYou can also opt to allow your PHP scripts to access additional directory instead without disabling the protection.For example, to add \/new_directory to the allow list.<\/p>\n<p>php_admin_value open_basedir \/home\/user_account\/:\/usr\/lib\/php:\/usr\/local\/lib\/php:\/tmp<\/p>\n<p>php_admin_value open_basedir \/home\/user_account\/:\/usr\/lib\/php:\/usr\/local\/lib\/php:\/tmp:\/new_directory<\/p>\n<p>Restart the Apache after finished editing<\/p>\n<p><strong>Article Authored by Ajith KK<\/strong><\/p>\n<p><strong>Author, Ajith KK, is a Systems Engineer with SupportPRO. Ajith specializes in L1 and L2 Linux\/Windows administration. SupportPRO offers 24X7 technical support services to <a href=\"https:\/\/www.supportpro.com\/plans.php\">Web hosting<\/a> companies and service providers.<\/strong><\/p>\n<p>If you require help, c<a href=\"https:\/\/www.supportpro.com\/requestquote.php\">ontact SupportPRO Server Admin<\/a><\/p>\n<p style=\"text-align: center;\"><!--HubSpot Call-to-Action Code --><span id=\"hs-cta-wrapper-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-wrapper\"><span id=\"hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-node hs-cta-9d590242-d641-4383-94b4-8cfd62f0af6b\"><!-- [if lte IE 8]><\/p>\n\n\n\n\n\n<div id=\"hs-cta-ie-element\"><\/div>\n\n\n<![endif]--><a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b\"><img decoding=\"async\" id=\"hs-cta-img-9d590242-d641-4383-94b4-8cfd62f0af6b\" class=\"hs-cta-img\" style=\"border-width: 0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\" alt=\"Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value\" \/><\/a><\/span><script charset=\"utf-8\" src=\"https:\/\/js.hscta.net\/cta\/current.js\"><\/script><script type=\"text\/javascript\"> hbspt.cta.load(2725694, '9d590242-d641-4383-94b4-8cfd62f0af6b', {}); <\/script><\/span><!-- end HubSpot Call-to-Action Code --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>mod_userdir It is an Apache module that allows you to create a separate website for each user on a server. These sites can all be accessed by going to, http:\/\/servername.com\/~username&hellip;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[5,1],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-general-topics","category-miscellaneous"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"mod_userdir It is an Apache module that allows you to create a separate website for each user on a server. These sites can all be accessed by going to, http:\/\/servername.com\/~username Eg:- http:\/\/example.com\/~user\/ The module is installed on most Apache setups by default, but isnt necessarily always enabled. Most mass-hosted cPanel servers make extensive use of\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"SupportPRO Admin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Server Management Tips | SupportPRO Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Brief intro about mod_userdir | open_basedir | Server Management Tips\" \/>\n\t\t<meta property=\"og:description\" content=\"mod_userdir It is an Apache module that allows you to create a separate website for each user on a server. These sites can all be accessed by going to, http:\/\/servername.com\/~username Eg:- http:\/\/example.com\/~user\/ The module is installed on most Apache setups by default, but isnt necessarily always enabled. Most mass-hosted cPanel servers make extensive use of\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-07-30T05:32:36+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-07-27T08:10:24+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Brief intro about mod_userdir | open_basedir | Server Management Tips\" \/>\n\t\t<meta name=\"twitter:description\" content=\"mod_userdir It is an Apache module that allows you to create a separate website for each user on a server. These sites can all be accessed by going to, http:\/\/servername.com\/~username Eg:- http:\/\/example.com\/~user\/ The module is installed on most Apache setups by default, but isnt necessarily always enabled. Most mass-hosted cPanel servers make extensive use of\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/brief-intro-about-cphulk-mod_userdir-open_basedir\\\/#aioseo-article-67161460ba082\",\"name\":\"Brief intro about mod_userdir | open_basedir\",\"headline\":\"Brief intro about mod_userdir | open_basedir\",\"description\":\"mod_userdir It is an Apache module that allows you to create a separate website for each user on a server. These sites can all be accessed by going to, http:\\\/\\\/servername.com\\\/~username Eg:- http:\\\/\\\/example.com\\\/~user\\\/ The module is installed on most Apache setups by default, but isnt necessarily always enabled. Most mass-hosted cPanel servers make extensive use of\",\"author\":{\"@type\":\"Person\",\"name\":\"SupportPRO Admin\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/no-cache.hubspot.com\\\/cta\\\/default\\\/2725694\\\/9d590242-d641-4383-94b4-8cfd62f0af6b.png\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/brief-intro-about-cphulk-mod_userdir-open_basedir\\\/#articleImage\"},\"datePublished\":\"2009-07-29T23:32:36-06:00\",\"dateModified\":\"2023-07-27T02:10:24-06:00\",\"inLanguage\":\"en-US\",\"articleSection\":\"General Topics, Miscellaneous\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/brief-intro-about-cphulk-mod_userdir-open_basedir\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.supportpro.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/miscellaneous\\\/#listItem\",\"name\":\"Miscellaneous\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/miscellaneous\\\/#listItem\",\"position\":2,\"name\":\"Miscellaneous\",\"item\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/miscellaneous\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/brief-intro-about-cphulk-mod_userdir-open_basedir\\\/#listItem\",\"name\":\"Brief intro about mod_userdir | open_basedir\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/brief-intro-about-cphulk-mod_userdir-open_basedir\\\/#listItem\",\"position\":3,\"name\":\"Brief intro about mod_userdir | open_basedir\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/category\\\/miscellaneous\\\/#listItem\",\"name\":\"Miscellaneous\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\",\"name\":\"SupportPRO\",\"description\":\"SupportPRO Blog\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/\",\"telephone\":\"+18476076123\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/\",\"name\":\"SupportPRO Admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/brief-intro-about-cphulk-mod_userdir-open_basedir\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/13d2f63048d631e03a432375448be5eb7861069df4fef10f0cb1c7b36554c225?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"SupportPRO Admin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/brief-intro-about-cphulk-mod_userdir-open_basedir\\\/#webpage\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/brief-intro-about-cphulk-mod_userdir-open_basedir\\\/\",\"name\":\"Brief intro about mod_userdir | open_basedir | Server Management Tips\",\"description\":\"mod_userdir It is an Apache module that allows you to create a separate website for each user on a server. These sites can all be accessed by going to, http:\\\/\\\/servername.com\\\/~username Eg:- http:\\\/\\\/example.com\\\/~user\\\/ The module is installed on most Apache setups by default, but isnt necessarily always enabled. Most mass-hosted cPanel servers make extensive use of\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/brief-intro-about-cphulk-mod_userdir-open_basedir\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/author\\\/managementadmin\\\/#author\"},\"datePublished\":\"2009-07-29T23:32:36-06:00\",\"dateModified\":\"2023-07-27T02:10:24-06:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/\",\"name\":\"Server Management Tips\",\"description\":\"SupportPRO Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.supportpro.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>Brief intro about mod_userdir | open_basedir | Server Management Tips<\/title>\n\n","aioseo_head_json":{"title":"Brief intro about mod_userdir | open_basedir | Server Management Tips","description":"mod_userdir It is an Apache module that allows you to create a separate website for each user on a server. These sites can all be accessed by going to, http:\/\/servername.com\/~username Eg:- http:\/\/example.com\/~user\/ The module is installed on most Apache setups by default, but isnt necessarily always enabled. Most mass-hosted cPanel servers make extensive use of","canonical_url":"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/#aioseo-article-67161460ba082","name":"Brief intro about mod_userdir | open_basedir","headline":"Brief intro about mod_userdir | open_basedir","description":"mod_userdir It is an Apache module that allows you to create a separate website for each user on a server. These sites can all be accessed by going to, http:\/\/servername.com\/~username Eg:- http:\/\/example.com\/~user\/ The module is installed on most Apache setups by default, but isnt necessarily always enabled. Most mass-hosted cPanel servers make extensive use of","author":{"@type":"Person","name":"SupportPRO Admin","url":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/"},"publisher":{"@id":"https:\/\/www.supportpro.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/no-cache.hubspot.com\/cta\/default\/2725694\/9d590242-d641-4383-94b4-8cfd62f0af6b.png","@id":"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/#articleImage"},"datePublished":"2009-07-29T23:32:36-06:00","dateModified":"2023-07-27T02:10:24-06:00","inLanguage":"en-US","articleSection":"General Topics, Miscellaneous"},{"@type":"BreadcrumbList","@id":"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.supportpro.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/miscellaneous\/#listItem","name":"Miscellaneous"}},{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/miscellaneous\/#listItem","position":2,"name":"Miscellaneous","item":"https:\/\/www.supportpro.com\/blog\/category\/miscellaneous\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/#listItem","name":"Brief intro about mod_userdir | open_basedir"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/#listItem","position":3,"name":"Brief intro about mod_userdir | open_basedir","previousItem":{"@type":"ListItem","@id":"https:\/\/www.supportpro.com\/blog\/category\/miscellaneous\/#listItem","name":"Miscellaneous"}}]},{"@type":"Organization","@id":"https:\/\/www.supportpro.com\/blog\/#organization","name":"SupportPRO","description":"SupportPRO Blog","url":"https:\/\/www.supportpro.com\/blog\/","telephone":"+18476076123"},{"@type":"Person","@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author","url":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/","name":"SupportPRO Admin","image":{"@type":"ImageObject","@id":"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/13d2f63048d631e03a432375448be5eb7861069df4fef10f0cb1c7b36554c225?s=96&d=mm&r=g","width":96,"height":96,"caption":"SupportPRO Admin"}},{"@type":"WebPage","@id":"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/#webpage","url":"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/","name":"Brief intro about mod_userdir | open_basedir | Server Management Tips","description":"mod_userdir It is an Apache module that allows you to create a separate website for each user on a server. These sites can all be accessed by going to, http:\/\/servername.com\/~username Eg:- http:\/\/example.com\/~user\/ The module is installed on most Apache setups by default, but isnt necessarily always enabled. Most mass-hosted cPanel servers make extensive use of","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.supportpro.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/#breadcrumblist"},"author":{"@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author"},"creator":{"@id":"https:\/\/www.supportpro.com\/blog\/author\/managementadmin\/#author"},"datePublished":"2009-07-29T23:32:36-06:00","dateModified":"2023-07-27T02:10:24-06:00"},{"@type":"WebSite","@id":"https:\/\/www.supportpro.com\/blog\/#website","url":"https:\/\/www.supportpro.com\/blog\/","name":"Server Management Tips","description":"SupportPRO Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.supportpro.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Server Management Tips | SupportPRO Blog","og:type":"article","og:title":"Brief intro about mod_userdir | open_basedir | Server Management Tips","og:description":"mod_userdir It is an Apache module that allows you to create a separate website for each user on a server. These sites can all be accessed by going to, http:\/\/servername.com\/~username Eg:- http:\/\/example.com\/~user\/ The module is installed on most Apache setups by default, but isnt necessarily always enabled. Most mass-hosted cPanel servers make extensive use of","og:url":"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/","article:published_time":"2009-07-30T05:32:36+00:00","article:modified_time":"2023-07-27T08:10:24+00:00","twitter:card":"summary","twitter:title":"Brief intro about mod_userdir | open_basedir | Server Management Tips","twitter:description":"mod_userdir It is an Apache module that allows you to create a separate website for each user on a server. These sites can all be accessed by going to, http:\/\/servername.com\/~username Eg:- http:\/\/example.com\/~user\/ The module is installed on most Apache setups by default, but isnt necessarily always enabled. Most mass-hosted cPanel servers make extensive use of"},"aioseo_meta_data":{"post_id":"21","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"#aioseo-article-67161460ba082","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"seo_analyzer_scan_date":"2026-06-17 11:08:37","breadcrumb_settings":null,"limit_modified_date":false,"open_ai":null,"ai":null,"created":"2021-12-10 15:53:46","updated":"2026-06-30 22:49:21"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.supportpro.com\/blog\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/www.supportpro.com\/blog\/category\/miscellaneous\/\" title=\"Miscellaneous\">Miscellaneous<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tBrief intro about mod_userdir | open_basedir\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.supportpro.com\/blog"},{"label":"Miscellaneous","link":"https:\/\/www.supportpro.com\/blog\/category\/miscellaneous\/"},{"label":"Brief intro about mod_userdir | open_basedir","link":"https:\/\/www.supportpro.com\/blog\/brief-intro-about-cphulk-mod_userdir-open_basedir\/"}],"_links":{"self":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":9,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":13222,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/posts\/21\/revisions\/13222"}],"wp:attachment":[{"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.supportpro.com\/blog\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}