Calling all Apache proxy/rewrite gurus
Trying to figure something out and looking for the best way to make it happen.
Working with a friend on a site, we're trying to do a rewrite or proxypass so that we can serve files from another directory at the root level.
We have website.com/directory/
In that directory are several files that fit the same naming scheme (i.e file1, file2, file3).
We are wanting to serve these files at the root directory but have them pulled from /directory/
Haven't done this before but have experienced working with Proxypass/Apache and mod_rewrite. My initial assumption was to try...
RewriteRule ^(.*)$ http://www.website.com/$1
(with options followssymlinks).
Does anyone have a good way to do this?
|All times are GMT -5. The time now is 12:44 AM.|