Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 995 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 995 Bytes

www.whatadesktop.com

After install:

  1. Create a log directory at the top of the working tree
  2. Allow apache to write to the cache directory
  3. Clear the cache directory

Submodules:

Additions to httpd.conf

    DEFINE RootDir C:/xampp/htdocs/
    DEFINE PublicDir whatadesktop/public
    SetEnv ROOT_DIR ${RootDir}
    SetEnv PUBLIC_DIR ${PublicDir}

    DocumentRoot ${RootDir}${PublicDir}
    <Directory ${RootDir}${PublicDir}>
        RewriteEngine on

        # Don't rewrite files or directories
        RewriteCond %{REQUEST_FILENAME} -f [OR]
        RewriteCond %{REQUEST_FILENAME} -d
        RewriteRule ^ - [L]

        # Rewrite everything else to index.html to allow html5 state links
        RewriteRule ^ index.php [L]
    </Directory>