AbhishekGhosh / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

unique CSS for each URL #218

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. followin example in issue 24:

shellinaboxd -s /:LOGIN -s /white-on-black:LOGIN -f
/white-on-black/styles.css=styles-white-on-black.css
2. created new style sheet styles-white-on-black.css
3. get error: Syntax error in static-file definition  
"/white-on-black/styles.css=styles-white-on-black.css"
4. Changed syntax to:
shellinaboxd -s /:LOGIN -s /white-on-black:LOGIN -f
/white-on-black:styles.css=styles-white-on-black.css

What is the expected output? What do you see instead?
Expect to get white-on-black for URL white-on-black, and black-on-white for all 
others. Instead get "File not found" 404 error for URL white-on-black - other 
URLs are fine.

What version of the product are you using? On what operating system?
ShellInABox version 2.10 (revision 239)
RHEL 6.2

Please provide any additional information below.
Just testing the example - need to provide different css for each URL, so if 
there is another way to do this that would be great too.

Original issue reported on code.google.com by raz.balu...@gmail.com on 11 Jan 2013 at 8:45

GoogleCodeExporter commented 9 years ago
my fault; correct syntax is:

shellinaboxd -s /:LOGIN -s /white-on-black:LOGIN -f 
/white-on-black/styles.css:styles-white-on-black.css

Original comment by raz.balu...@gmail.com on 15 Jan 2013 at 2:13