Custom User Title
Join Date: Jul 2006
Location: At home
|
So I'm using owncloud which is awesome. It's like dropbox but on your own server. Check it out...
Anyway. So I've got a cloud.domain.com for which I've done a CNAME to a dyndns adress because it's a dynamic IP. I also did a rewrite so I don't need to type /owncloud. Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} cloud.domain.com [NC]
RewriteCond %{REQUEST_URI} !^/owncloud
RewriteRule ^(.*)$ /owncloud [L] That part works. Here's the question : How would I hide the /owncloud. It's no big deal but it would be cool. If I try Quote:
Dave Mustaine :"God created whammy bars for people who don't know how to solo." |
|
quote |
Lord of the Rant.
Formerly turtle2472 Join Date: Mar 2005
Location: Upstate South Carolina
|
I don't really know but this is the code for cutting off the index.php as used by WP:
Code:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L] What ever you find, I'm interested to see what you get working though.Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers. One who does not vote has no right to complain.” Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it. |
quote |
Making sawdust
Join Date: May 2004
Location: Minnesota
|
Why not simply point your doc root to the owncloud directory?
|
quote |
Posting Rules | Navigation |
|
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
.htaccess rewrite rules | dmegatool | Programmer's Nook | 4 | 2012-08-20 23:15 |
.htaccess / .htpasswd | 709 | Genius Bar | 5 | 2008-03-17 23:11 |
.htaccess file | Jason | Programmer's Nook | 10 | 2006-06-03 15:28 |
.htaccess | revolution | Programmer's Nook | 7 | 2006-01-10 23:36 |
CSI: htaccess file | drewprops | Genius Bar | 3 | 2004-09-21 15:52 |