hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Open_basedir and subdirectories problem

Forum Jump

Open_basedir and subdirectories problem

Reply Post New Thread In Web Hosting Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Junior Guru Wannabe
Join Date: Mar 2006
Posts: 69

Open_basedir and subdirectories problem

Open_basedir and subdirectories problem
Hi for now I have this httpd-vhosts.conf
php_admin_value open_basedir "C:/aweb/freehosting/users/"

<VirtualHost *:80>
# ServerName
ServerName pcsny

ServerAlias *
ServerAlias *

VirtualDocumentRoot "C:/aweb/freehosting/users/%1"
php_admin_value open_basedir "C:/aweb/freehosting/users/"
php_admin_value safe_mode 1

<Directory "C:/aweb/freehosting/users/">
Options Indexes Includes FollowSymLinks
AllowOverride none
Order allow,deny
Allow from all

Script makes under the subdirectory
New folders (they are login name of a new user)

To access to their web pages users have to type subdomains like this

how to force users stay in their folders and not to be able to affect other users with malicious code like

r57shell - http-shell by RST/GHC | | | version 1.24
if only I could do something like this
php_admin_value open_basedir "C:/aweb/freehosting/users/%1"
get subdomain entered in browser then fix top folder accessible for this user….
PS. I am on windows 2003, XAMPP

<<< Please see Forum Guidelines for signature setup. >>>

Sponsored Links

Related posts from
Title Type Date Posted
CloudFlare to Open Data Centers in China in 2015: Report Web Hosting News 2014-11-25 11:17:54
OX Summit Web Hosting Events 2014-07-23 21:01:52
Top 5 Considerations for Transitioning to Open Compute Webinars 2014-06-29 21:45:11
Open Source Collaboration Provider Open-Xchange Launches OX Spreadsheet Tool: 2014 Web Hosting News 2014-04-01 11:18:13
Open-Xchange Summit 2013 Web Hosting Events 2013-09-19 18:04:21

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?