Re: Apache rewrite rules
Steve McMahon <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <CAOqzbghKKG6jZTqytqhkckVvFwnSXPE1kEBVHJ9qzKUS_ADkzw@mail.gmail.com> |
You want "inside-out" hosting. It's documented in the virtual host monster itself (ZMI) on its docs tab. On Fri, Mar 6, 2015 at 9:57 AM, Espen Moe-Nilssen <[email protected]> wrote: > I been trying and trying to get this to work, but my knowledge of apache > is a bit small (and I feel I have tried everything) > > I have setup the rewrite rules in apache from webmin. > > ————— > > ServerName www.site.no > RewriteEngine On > RewriteRule ^/(.*)$ > http://127.0.0.1:8080/VirtualHostBase/http/www.site.no:80/sitename/VirtualHostRoot/$1 > [L,P] > > ——————— > I want to serve files in folder /home/site/bose from > http://site.no/bose > > ——————— > which I get serve via another URL with: > > DocumentRoot /home/site/bose > ServerName bose.site.no > <Directory /home/site/bose> > allow from all > Options None > </Directory> > > ———————— > > How can this be done ? > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Plone-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/plone-users > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users