Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[2.1.11] Forum authentication via OpenID (steam) goes FUBAR
giopaul
New
Since all of the users of my upcoming forum will have a steamaccount I wanted to make the access to the website only possible through Steam's OpenID authentication. Since Vanilla is cool and supports this by default I didn't have to go through the hell of creating a plugin for this myself. Now there's one problem: As I try to configure this, the website will respond with a 404 error.
I want to note that this is not just the case with this particular plugin. I get the same kind of 404 error when I try to use the built-in RSS feed plugin.
Tagged:
0
Comments
post your .htaccess file
and where is your forum folder located? root /forum /vanilla etc?
if you are using apache make sure it conforms to this:
FAQ Q:22
http://vanillaforums.org/discussion/comment/220157/#Comment_220157
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Forum is in root. (wwwroot)
I don't have a .htaccess file since I'm using IIS8. I can however provide you with the web.config.
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <defaultDocument> <files> <clear /> <add value="index.php" /> <add value="index.html" /> <add value="iisstart.htm" /> </files> </defaultDocument> <rewrite> <outboundRules> <preConditions> <preCondition name="ResponseIsHtml"> <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" /> </preCondition> </preConditions> </outboundRules> <rules> <rule name="RedirectUserFriendlyURL" stopProcessing="true"> <match url="^index\.php$" /> <conditions> <add input="{REQUEST_METHOD}" pattern="^POST$" negate="true" /> <add input="{QUERY_STRING}" pattern="^p=([^=&]+)$" /> </conditions> <action type="Redirect" url="{C:1}" appendQueryString="false" /> </rule> <rule name="RewriteUserFriendlyURL" stopProcessing="true"> <match url="^([^/]+)/?$" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php?p={R:1}" /> </rule> <rule name="Imported htaccess" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="index.php\?p={R:1}" appendQueryString="true" /> </rule> <rule name="fuckthewww" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="&#37;{HTTP_HOST}" pattern="^www\.mhgaming\.uk" /> </conditions> <action type="Redirect" url="http://mhgaming.uk/{R:1}" redirectType="Permanent" /> </rule> </rules> </rewrite> <staticContent> <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" /> </staticContent> </system.webServer> </configuration>
Maybe it helps to know that my "activities" page also results in a sadface.
http://mhgaming.uk/activity
-
grep is your friend.
have you followed this?
http://vanillaforums.org/addon/aeliasteamsignin-plugin
You should really post under the plugin.
grep is your friend.
I wish it was just the plugin, since I would then just use something else. No, for some reason I can not select OpenID as the preferred authentication method. Once I select anything else other than "password" authentication the page will return a 404 error.
In reply to your RTFM-comment: Yes, I've done that. It's unfortunately completely unrelated to this issue.