Skip to content

Commit

Permalink
Fixed: Error 500 (Apache) after creation of any protected area
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxwin committed Aug 24, 2013
1 parent b8df734 commit a4b2c7a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ENGINE:
- Added: Support for Apache 2.4.x branch
- Added: Database connection timeout (3 seconds)
- Added: MySQL transaction routines
- Fixed: Error 500 (Apache) after creation of any protected area
- Fixed: MySQL server has gone away
- Fixed: Plugin module is broken: Unable to disable, uninstall... any plugin
- Fixed: Plugin update must be triggered when plugin configuration is updated
Expand Down
4 changes: 2 additions & 2 deletions engine/PerlLib/Servers/httpd/apache_fcgi.pm
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ sub addHtaccess($$)
# Note: It's temporary fix for 1.1.0-rc2 (See #749)
if(-d $data->{'AUTH_PATH'}) {
my $fileUser = "$data->{'HOME_PATH'}/$self->{'config'}->{'HTACCESS_USERS_FILE_NAME'}";
my $fileGroup = "$data->'{HOME_PATH'}/$self->{'config'}->{'HTACCESS_GROUPS_FILE_NAME'}";
my $fileGroup = "$data->{'HOME_PATH'}/$self->{'config'}->{'HTACCESS_GROUPS_FILE_NAME'}";
my $filePath = "$data->{'AUTH_PATH'}/.htaccess";

my $file = iMSCP::File->new('filename' => $filePath);
Expand Down Expand Up @@ -996,7 +996,7 @@ sub deleteHtaccess($$)
# Note: It's temporary fix for 1.1.0-rc2 (See #749)
if(-d $data->{'AUTH_PATH'}) {
my $fileUser = "$data->{'HOME_PATH'}/$self->{'config'}->{'HTACCESS_USERS_FILE_NAME'}";
my $fileGroup = "$data->'{HOME_PATH'}/$self->{'config'}->{'HTACCESS_GROUPS_FILE_NAME'}";
my $fileGroup = "$data->{'HOME_PATH'}/$self->{'config'}->{'HTACCESS_GROUPS_FILE_NAME'}";
my $filePath = "$data->{'AUTH_PATH'}/.htaccess";

my $file = iMSCP::File->new('filename' => $filePath);
Expand Down
4 changes: 2 additions & 2 deletions engine/PerlLib/Servers/httpd/apache_itk.pm
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ sub addHtaccess($$)
# Note: It's temporary fix for 1.1.0-rc2 (See #749)
if(-d $data->{'AUTH_PATH'}) {
my $fileUser = "$data->{'HOME_PATH'}/$self->{'config'}->{'HTACCESS_USERS_FILE_NAME'}";
my $fileGroup = "$data->'{HOME_PATH'}/$self->{'config'}->{'HTACCESS_GROUPS_FILE_NAME'}";
my $fileGroup = "$data->{'HOME_PATH'}/$self->{'config'}->{'HTACCESS_GROUPS_FILE_NAME'}";
my $filePath = "$data->{'AUTH_PATH'}/.htaccess";

my $file = iMSCP::File->new('filename' => $filePath);
Expand Down Expand Up @@ -988,7 +988,7 @@ sub deleteHtaccess($$)
# Note: It's temporary fix for 1.1.0-rc2 (See #749)
if(-d $data->{'AUTH_PATH'}) {
my $fileUser = "$data->{'HOME_PATH'}/$self->{'config'}->{'HTACCESS_USERS_FILE_NAME'}";
my $fileGroup = "$data->'{HOME_PATH'}/$self->{'config'}->{'HTACCESS_GROUPS_FILE_NAME'}";
my $fileGroup = "$data->{'HOME_PATH'}/$self->{'config'}->{'HTACCESS_GROUPS_FILE_NAME'}";
my $filePath = "$data->{'AUTH_PATH'}/.htaccess";

my $file = iMSCP::File->new('filename' => $filePath);
Expand Down
4 changes: 2 additions & 2 deletions engine/PerlLib/Servers/httpd/apache_php_fpm.pm
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ sub addHtaccess
# Note: It's temporary fix for 1.1.0-rc2 (See #749)
if(-d $data->{'AUTH_PATH'}) {
my $fileUser = "$data->{'HOME_PATH'}/$self->{'config'}->{'HTACCESS_USERS_FILE_NAME'}";
my $fileGroup = "$data->'{HOME_PATH'}/$self->{'config'}->{'HTACCESS_GROUPS_FILE_NAME'}";
my $fileGroup = "$data->{'HOME_PATH'}/$self->{'config'}->{'HTACCESS_GROUPS_FILE_NAME'}";
my $filePath = "$data->{'AUTH_PATH'}/.htaccess";

my $file = iMSCP::File->new('filename' => $filePath);
Expand Down Expand Up @@ -988,7 +988,7 @@ sub deleteHtaccess($$)
# Note: It's temporary fix for 1.1.0-rc2 (See #749)
if(-d $data->{'AUTH_PATH'}) {
my $fileUser = "$data->{'HOME_PATH'}/$self->{'config'}->{'HTACCESS_USERS_FILE_NAME'}";
my $fileGroup = "$data->'{HOME_PATH'}/$self->{'config'}->{'HTACCESS_GROUPS_FILE_NAME'}";
my $fileGroup = "$data->{'HOME_PATH'}/$self->{'config'}->{'HTACCESS_GROUPS_FILE_NAME'}";
my $filePath = "$data->{'AUTH_PATH'}/.htaccess";

my $file = iMSCP::File->new('filename' => $filePath);
Expand Down

0 comments on commit a4b2c7a

Please sign in to comment.