-
Notifications
You must be signed in to change notification settings - Fork 145
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
Using phprouter for project in subdirectory #42
Comments
Hi Jack, You could try this.
comment out this line replace it with |
Hi @madanielecd, I have tried your solution to make it part of the router, though it does not work. Can you please let me know how you expect this to be used? |
Hi @phprouter, Well I'm not sure, but could it be server config dependant? Is your (Apache) server not responding to the .htaccess in a subfolder? |
Maybe this works: |
PhpRouter is intended to be used directly under the root/domain folder. |
Hi,
If I have a project in
example.com/new_project
and I want to do routing (e.g.)
example.com/new_project/user/name => example.com/new_project/user.php?name=name
Do I need to change the code? I can't seem to get it working, all I get is blank html when I do the static routing.
The text was updated successfully, but these errors were encountered: