Skip to content

mvodanovic/WebFW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebFW

Sources

Version

  • still in development, no stable release :(

Installation (for Ubuntu users)

  1. mkdir ~/www/example && cd ~/www/example (create an empty directory & enter it)
  2. git clone https://github.com/mvodanovic/WebFW.git webfw (checkout the framework in the webfw/ directory)
  3. cp -R __install/* . (copy everything from the __install/ directory to the current directory; don't forget the dot)
  4. sudo vim /etc/apache/sites_available/example.conf (setup the web server with the public/ directory as document root)
  5. sudo a2ensite example && sudo service apache2 reload (activate the new web site)
  6. in browser -> example.com -> A hello world page

Apache2 VirtualHost configuration example

<VirtualHost *:80>
    ServerName mysite.com
    DocumentRoot /var/www/mysite/public
    <Directory /var/www/mysite/public>
        AllowOverride All
    </Directory>
    ErrorLog ${APACHE_LOG_DIR}/mysite.error.log
    LogLevel warn
    CustomLog ${APACHE_LOG_DIR}/mysite.access.log combined
</VirtualHost>
  • Note: This is only an example configuration, please take care to adapt it accordingly to suit your needs!

License

About

A lightweight object-oriented PHP framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published