Skip to content

Apache config #26

@purinda

Description

@purinda

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions