Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Just a small suggestion #11

Open
hetzbh opened this issue May 19, 2015 · 0 comments
Open

Just a small suggestion #11

hetzbh opened this issue May 19, 2015 · 0 comments

Comments

@hetzbh
Copy link

hetzbh commented May 19, 2015

The function RDocumentChRoot requires 2 parameters: one for the virtual directory "root" and the other is the actual real directory.

My suggestion: How about using something like this - if the line only includes 1 parameter, then ruid2 will treat it as root, so for example:

RDocumentChRoot /home/mysite/public_html

That way, the / will redirect to /home/mysite/public_html/ and if the user will put 2 parameters, it will behave as it is today.

What do you think?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant