Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support FallbackResource (httpd >= 2.2.16) #383

Merged
merged 1 commit into from
Sep 28, 2013
Merged

Support FallbackResource (httpd >= 2.2.16) #383

merged 1 commit into from
Sep 28, 2013

Conversation

igalic
Copy link
Contributor

@igalic igalic commented Sep 27, 2013

Starting Apache httpd 2.2.16, FallbackResource is a much simpler way of
configuring a very common pattern usually implemented with RewriteRules.

Sending all requests to one router that then dispaches all requests can
now be done with a single line:

FallbackResource /index.php

We now support this directive with the apache::vhost parameter
fallbackresource, which can be used like this:

apache::vhost { 'wordpress.example.com':
  documentroot     => '/var/www/wp',
  fallbackresource => '/index.php',
}

fallbackresource is also a valid prameter in directories, where at
different levels it either can be overwritten, or disabled.

Starting Apache httpd 2.2.16, FallbackResource is a much simpler way of
configuring a very common pattern usually implemented with RewriteRules.

Sending all requests to one router that then dispaches all requests can
now be done with a single line:

    FallbackResource /index.php

We now support this directive with the apache::vhost parameter
fallbackresource, which can be used like this:

    apache::vhost { 'wordpress.example.com':
      documentroot     => '/var/www/wp',
      fallbackresource => '/index.php',
    }

fallbackresource is also a valid prameter in directories, where at
different levels it either can be overwritten, or `disabled`.
blkperl added a commit that referenced this pull request Sep 28, 2013
Support FallbackResource (httpd >= 2.2.16)
@blkperl blkperl merged commit 6741b85 into puppetlabs:master Sep 28, 2013
@igalic igalic deleted the fallbackresource branch November 14, 2013 14:32
traylenator pushed a commit to traylenator/puppetlabs-apache that referenced this pull request Jun 7, 2022
…ppetlabs#383)

To support depending non-service systemd unit types, the docker-run
service template was modified to detect when a full systemd unit name is
passed.  This allows you to depend on targets like 'remote-fs.target' or
'network-online.target' if the container needs it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants