Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for base_path directive #8

Open
joamag opened this issue Jun 21, 2012 · 0 comments
Open

Support for base_path directive #8

joamag opened this issue Jun 21, 2012 · 0 comments
Assignees
Labels
Milestone

Comments

@joamag
Copy link
Contributor

joamag commented Jun 21, 2012

This directive should be able to be defined in a per location basis.
Each location may have it's own base_path.
Must use the dispatcher handler to do the resolution of the index file according to this base path.
The dispatcher handler may send the complete file (resolved) to the underlying handlers on_full_path handler.

Configuration

[location:php]
path = [.]*\.php$
base_path = /usr/local/viriatum
handler = php
index = index.html index.php
@ghost ghost assigned joamag Jun 21, 2012
@ghost ghost assigned joamag Oct 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant