Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot view subfolder contents in browser
#6
Thats what I do.

I have a website with static content and a gs subfolder.
Then a htaccess in root and in gs sub ( which has to have the subpath added ot its rewrite rule.)

something like
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d [OR]
RewriteCond %{REQUEST_URI} =/
RewriteRule ^(.*)$ /getsimple/$1 [L]

Everything in GS will appear to be in root.

Keeps it clean and upgrades easily.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
RE: Cannot view subfolder contents in browser - by shawn_a - 2013-05-28, 00:18:22



Users browsing this thread: 1 Guest(s)