Skip to content

Use the yellow command line interface without shell access

License

Notifications You must be signed in to change notification settings

richi/yellow-plugin-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI plugin 0.1.3

This is a HTML - CLI gateway.

Use the yellow command line interface without shell access.

How to install?

  1. Download and install Yellow.
  2. Download plugin. If you are using Safari, right click and select 'Download file as'.
  3. Copy master.zip into your system/plugins folder.

To uninstall delete the plugin files.

.htaccess

Optionally you can use this .htaccess file to serve the data directly out of the cache.

<IfModule mod_rewrite.c>

RewriteEngine on

DefaultType text/html
DirectoryIndex index.html yellow.php

RewriteCond %{DOCUMENT_ROOT}/cache%{REQUEST_URI}index.html -f
RewriteRule ^ /cache%{REQUEST_URI}index.html [L] 

RewriteCond %{DOCUMENT_ROOT}/cache%{REQUEST_URI} -f
RewriteRule ^ /cache%{REQUEST_URI} [L] 

RewriteRule ^(content|system)/ error [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ yellow.php [L]

</IfModule>

On some shared servers (STRATO for example) DOCUMENT_ROOT is not working. If this is the case simply replace %{DOCUMENT_ROOT} with the real path.

About

Use the yellow command line interface without shell access

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages