Re: Apache rewrite rules

Espen Moe-Nilssen <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Thanks a lot

Espen

6. mars 2015 kl. 21:46 skrev espen <[email protected]>:

> Hi and thanks a lot for helping
> 
> 
>> You want "inside-out" hosting. It's documented in the virtual host monster itself (ZMI) on its docs tab.
> 
> does it have a docs tab ?
> (do you mean DocfinderTab)
> 
> Its friday, so I dont have it :)
> 
> I just found something that seems to work, not sure if it is a «good idea», though:
> 
> ------------------
> 
> RewriteRule  ^/bose/(.*)$ /home/site/bose/$1 [L]
> 
> RewriteRule ^/(.*)$ http://127.0.0.1:9095/VirtualHostBase/http/www.site.no:80/site/VirtualHostRoot/$1 [L,P]
> 
> 
>> 
>> On Fri, Mar 6, 2015 at 9:57 AM, Espen Moe-Nilssen <<a href="x-msg://7/user/SendEmail.jtp?type=node&amp;node=7573352&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> 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
>> <a href="x-msg://7/user/SendEmail.jtp?type=node&amp;node=7573352&amp;i=1" target="_top" rel="nofollow" link="external">[hidden email]
>> 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 
>> <a href="x-msg://7/user/SendEmail.jtp?type=node&amp;node=7573352&amp;i=2" target="_top" rel="nofollow" link="external">[hidden email] 
>> https://lists.sourceforge.net/lists/listinfo/plone-users
>> 
>> 
>> If you reply to this email, your message will be added to the discussion below:
>> http://plone.293351.n2.nabble.com/Apache-rewrite-rules-tp7573349p7573352.html
>> To start a new topic under General Questions, email [hidden email] 
>> To unsubscribe from Plone, click here.
>> NAML
> 
> 
> View this message in context: Re: Apache rewrite rules
> Sent from the General Questions mailing list archive at Nabble.com.
> ------------------------------------------------------------------------------
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.