Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Relative paths for FormAction


Go to End


1838 Views

Avatar
robs1983

Community Member, 1 Post

28 January 2010 at 3:11am

Hello together,

I hope you can help me :)

I use a silverstripe installation on a german host provider, called strato.

In one page, I use a form, which works correct (www.website.de/Anmeldung).

The formattributes are "<form id="Form_Form" action="/anmeldung/Form" method="post" enctype="application/x-www-form-urlencoded">"

Now, I want to use SSL. Here, strato redirects the site to https://www.ssl-id.de/www.website.de/Anmeldung
The formattributes are "<form id="Form_Form" action="/www.website.de/anmeldung/Form" method="post" enctype="application/x-www-form-urlencoded">"

Thus, the form action doesn't work, because of using relative paths in action.

Is there a possibility to change the path?

Best regards
robs