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

Apache config #26

Open
purinda opened this issue Dec 5, 2013 · 0 comments
Open

Apache config #26

purinda opened this issue Dec 5, 2013 · 0 comments

Comments

@purinda
Copy link

purinda commented Dec 5, 2013

Hi,

First of all this is a great tiny framework for PHP. I am using it with a small project that I am working on, which is planned to run on a Raspberry PI.

The issue I would like to report is that you should specify that the apache virtual host/config file that is used for PIP should specify AllowOverride ALL in directory section of the configuration for controller/method/param URL segments to work. I hope you will include this in the manual you got for PIP, will save time for someone else...

Ex:

<VirtualHost *:80>
ServerAdmin xxxxx@xxxxx.com
ServerName xxxxxxx
ServerAlias xxxx xxx

DocumentRoot /home/xxxxx/Projects/grooveshark/
<Directory /home/xxxxxx/Projects/grooveshark/>
    Options FollowSymLinks
    AllowOverride ALL
</Directory>

ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog ${APACHE_LOG_DIR}/access.log combined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant