Just for the sake of if somebody wants to remove 'control' from user at all
then one can configure a rule in tuckey:
<rule>
<from>/(.*)</from>
<to>/control/$1</to>
</rule>
<outbound-rule>
<from>^/control/(.*)$</from>
<to>/$1</to>
</outbound-rule>
Not tested though.
On Wed, Jun 13, 2012 at 1:22 AM, BJ Freeman <[email protected]> wrote:
> think of
> http://foo.com/control/**webpage.html<http://foo.com/control/webpage.html>
> as
> http://foo.com/control?uri=**webpage <http://foo.com/control?uri=webpage>
>
> if you rewrite the Url, you will need to assign something to redirect to
> control.
> this being that control is the URL for accessing the controller.xml in
> ofbiz.
>
> Deepak Agarwal sent the following on 6/12/2012 11:17 AM:
>
>> Could url rewriting be a solution ? Like
>> http://turbine.apache.org/**turbine/development/turbine-2.**
>> 3/howto/url-rewriting-howto.**html<http://turbine.apache.org/turbine/development/turbine-2.3/howto/url-rewriting-howto.html>
>>
>>
>> On Tue, Jun 12, 2012 at 3:38 PM, BJ Freeman<[email protected]> wrote:
>>
>> if you take the controller out of the URL, you break the model of Ofbiz.
>>> You are not using the ofbiz structure. You would not be able to render
>>> FTL's or any other docuement type without a lot of work.
>>> to answer your question, the security would be the same as tom cat.
>>>
>>>
>>> Sachin sent the following on 6/12/2012 1:57 AM:
>>>
>>> Well thanks Mr.Gupta. My question is "how secure is it to Remove
>>>
>>>> Controller
>>>> in URL for entire application. I don't want to display a single URL
>>>> which
>>>> extends /controller/. I changed redirect path to my own customized url
>>>> for
>>>> all components but no luck...
>>>>
>>>>
>>>> Thanks in Advance
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Sachin
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context: http://ofbiz.135035.n4.nabble.****
>>>> com/Removing-Controller-in-****URL-tp4633426p4633459.html<htt**
>>>> p://ofbiz.135035.n4.nabble.**com/Removing-Controller-in-**
>>>> URL-tp4633426p4633459.html<http://ofbiz.135035.n4.nabble.com/Removing-Controller-in-URL-tp4633426p4633459.html>
>>>> >
>>>>
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>
>>>> --
>>>> Thanks,
>>>> Deepak Agarwal,
>>>>
>>>> Paxcel Technologies Pvt Ltd.
>>>> Hartron Complex, Sector 18, Gurgaon, India.
>>>> E-Mail: [email protected]
>>>> Mobile: +91 9910322604
>>>>
>>>> --
>>>> Thanks,
>>>> Deepak Agarwal,
>>>>
>>>> Paxcel Technologies Pvt Ltd.
>>>> Hartron Complex, Sector 18, Gurgaon, India.
>>>> E-Mail: [email protected]
>>>> Mobile: +91 9910322604
>>>>
>>>> <%2B91%209910322604>
>>>>
>>>