Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a number of issues that arise when mod_perl is not installed.
- Loading branch information
Showing
5 changed files
with
42 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package APR::Date; | ||
|
||
use DateTime::Format::HTTP; | ||
|
||
sub parse_http { | ||
return DateTime::Format::HTTP->parse_datetime( shift )->epoch; | ||
} | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package Apache2::Const; | ||
|
||
sub OK { 1 } | ||
sub DECLINED {1} | ||
sub HTTP_UNAUTHORIZED {1} | ||
sub SERVER_ERROR {1} | ||
|
||
|
||
1; |