Skip to content
/ xamp Public

Framework for fast and pretty web-development based on XML, XSLT, PHP and MySQL

Notifications You must be signed in to change notification settings

vectart/xamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

-- Lighttpd Server configuration ---------------------------------------------

Place this code to /etc/lighttpd/lighttpd.conf:

server.modules	+=( "mod_rewrite", "mod_redirect" )
url.redirect	= ( "^([^\.^\?]+?[^\/])?(\?.*)?$" => "$1/$2" )
url.rewrite	= ( "^/([^\.^\?]+/)?(\?.*)?$" => "/controller/xamp.php$2" )



-- Apache Server configuration -----------------------------------------------

Place this code to .htaccess in root host directory 
or (in some cases) virtual host configuration file:

DirectoryIndex controller/xamp.php

RewriteEngine  On
RewriteCond    %{REQUEST_FILENAME}     !-d
RewriteCond    %{REQUEST_FILENAME}     !-s
RewriteCond    %{REQUEST_FILENAME}     !-l

RewriteRule    ^([^\.]+\/)?$   controller/xamp.php [L,QSA]

About

Framework for fast and pretty web-development based on XML, XSLT, PHP and MySQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages