Skip to content

Commit

Permalink
Minor fixed in .htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
mario committed Apr 1, 2014
1 parent 3c985c3 commit 7a32430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r/.htaccess
Original file line number Original file line Diff line number Diff line change
@@ -1,2 +1,2 @@
RewriteEngine On RewriteEngine On
RewriteRule ^([^/]*)(/(?:[^/]*))? index.php?payload=$1&code=$2 [L] RewriteRule ^([^/]+)/([^/]+)? index.php?payload=$1&code=$2 [L]

4 comments on commit 7a32430

@fuzzyroddis
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about:
https://html5sec.org/r/data (no trailing slash)

@cure53
Copy link
Owner

@cure53 cure53 commented on 7a32430 Apr 2, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know, strangely your regex did not work on my box, I blame it on a version-based behavior difference. The website H5SC is hosted on is a small VPS so everything is a bit orthodox version-wise.

@fuzzyroddis
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reference I was running: Apache 2.2.22-14

@cure53
Copy link
Owner

@cure53 cure53 commented on 7a32430 Apr 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The H5SC is on a Apache 2.2.14 - maybe that's the reason?

Please sign in to comment.