Displaying 14 results from an estimated 14 matches for "expiresdefault".
2017 Mar 14
2
httpd/sites-available directory
...<VirtualHost *:80>
ServerName webmail.bar.com
ServerAlias webmail
RewriteEngine On
ReWriteCond %{HTTP_HOST} =webmail.bar.com [NC]
RewriteCond %{SERVER_PORT} !=443
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
ExpiresDefault "access plus 10 years"
AddOutputFilterByType DEFLATE text/html text/plain text/xml
php_admin_flag session.cookie_secure "1"
</VirtualHost>
This rewrite is rewriting ALL connections to foo.bar.com. That first
ReWriteCond is not working.
Looking at...
2015 Aug 27
7
apache mysterious 404 error
.../store_access_log common
<Directory /var/www/mycomanystore>
DirectoryIndex index.html
AddHandler cgi-script .cgi
Options -Indexes +FollowSymLinks +ExecCGI +Includes
AllowOverride All
Require all granted
</Directory>
ExpiresActive On
ExpiresDefault "access plus 30 minute"
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
</VirtualHost>
Thanks
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
2015 Aug 27
4
apache mysterious 404 error
...Handler cgi-script .cgi
> >
> > Options -Indexes +FollowSymLinks +ExecCGI +Includes
> >
> > AllowOverride All
> >
> > Require all granted
> >
> > </Directory>
> >
> > ExpiresActive On
> >
> > ExpiresDefault "access plus 30 minute"
> >
> > RewriteEngine On
> >
> > RewriteCond %{REQUEST_METHOD} ^TRACE
> >
> > RewriteRule .* - [F]
> >
> > </VirtualHost>
> >
> > Thanks
> >
> > Tim
> >
> >
> &...
2015 Aug 28
0
apache mysterious 404 error
.../store_access_log common
<Directory /var/www/mycomanystore>
DirectoryIndex index.html
AddHandler cgi-script .cgi
Options -Indexes +FollowSymLinks +ExecCGI +Includes
AllowOverride All
Require all granted
</Directory>
ExpiresActive On
ExpiresDefault "access plus 30 minute"
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
</VirtualHost>
Thanks
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B _______________________________________________
CentOS mailing l...
2006 Jun 17
1
Having a go at Rpad
Context: FreeBSD 6.1on a pentium 4; apache 2 server up & running; mod_perl
installed; java & php 4 working.
Willing to use Rpad on an office intranet, I installed the Rpad package
(R2HTML was still there) and carefully read the instructions to set up a
server.
Now, on the server I can start the http://localhost/Rpad homepage, I can
click on and browse the three examples
2015 Aug 27
0
apache mysterious 404 error
...gt;
> DirectoryIndex index.html
>
> AddHandler cgi-script .cgi
>
> Options -Indexes +FollowSymLinks +ExecCGI +Includes
>
> AllowOverride All
>
> Require all granted
>
> </Directory>
>
> ExpiresActive On
>
> ExpiresDefault "access plus 30 minute"
>
> RewriteEngine On
>
> RewriteCond %{REQUEST_METHOD} ^TRACE
>
> RewriteRule .* - [F]
>
> </VirtualHost>
>
> Thanks
>
> Tim
>
>
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --re...
2014 Aug 29
0
Using puppet with Apache mod_disk_cache and passenger over SSL
...;Directory /usr/share/puppet/rack/puppetmasterd/>
Options Indexes
AllowOverride None
Order Allow,Deny
Allow from All
</Directory>
<IfModule mod_expires.c>
<Location /production/file_metadatas/>
ExpiresActive On
ExpiresDefault "access plus 30 minutes"
</Location>
</IfModule>
<IfModule mod_disk_cache.c>
CacheEnable disk /production/file_metadata/
CacheEnable disk /production/file_metadatas/
CacheRoot "/var/cache/mod_cache"
CacheDefaultExpire...
2017 Mar 14
0
httpd/sites-available directory
...ServerName webmail.bar.com
> ServerAlias webmail
>
> RewriteEngine On
> ReWriteCond %{HTTP_HOST} =webmail.bar.com [NC]
> RewriteCond %{SERVER_PORT} !=443
> RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
> ExpiresDefault "access plus 10 years"
> AddOutputFilterByType DEFLATE text/html text/plain text/xml
> php_admin_flag session.cookie_secure "1"
>
> </VirtualHost>
>
>
> This rewrite is rewriting ALL connections to foo.bar.com. That first
> ReW...
2015 Aug 28
0
apache mysterious 404 error
...gt;> Options -Indexes +FollowSymLinks +ExecCGI +Includes
>>>
>>> AllowOverride All
>>>
>>> Require all granted
>>>
>>> </Directory>
>>>
>>> ExpiresActive On
>>>
>>> ExpiresDefault "access plus 30 minute"
>>>
>>> RewriteEngine On
>>>
>>> RewriteCond %{REQUEST_METHOD} ^TRACE
>>>
>>> RewriteRule .* - [F]
>>>
>>> </VirtualHost>
>>>
>>> Thanks
>>>
>...
2007 Jul 17
3
.htaccess problems..... Using Drupal
...tes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
</IfModule>
# Requires mod_expires to be enabled.
<IfModule mod_expires.c>
# Enable expirations.
ExpiresActive On
# Cache all files for 2 weeks after access (A).
ExpiresDefault A1209600
# Do not cache dynamically generated pages.
ExpiresByType text/html A1
</IfModule>
# Various rewrite rules.
<IfModule mod_rewrite.c>
RewriteEngine on
# If your site can be accessed both with and without the prefix www. you
# can use one of the following settings to...
2015 Aug 28
1
apache mysterious 404 error
...Handler cgi-script .cgi
> >
> > Options -Indexes +FollowSymLinks +ExecCGI +Includes
> >
> > AllowOverride All
> >
> > Require all granted
> >
> > </Directory>
> >
> > ExpiresActive On
> >
> > ExpiresDefault "access plus 30 minute"
> >
> > RewriteEngine On
> >
> > RewriteCond %{REQUEST_METHOD} ^TRACE
> >
> > RewriteRule .* - [F]
> >
> > </VirtualHost>
> >
> > Thanks
> >
> > Tim
> >
> >
> &...
2015 Aug 28
4
apache mysterious 404 error
...gt;
> DirectoryIndex index.html
>
> AddHandler cgi-script .cgi
>
> Options -Indexes +FollowSymLinks +ExecCGI +Includes
>
> AllowOverride All
>
> Require all granted
>
> </Directory>
>
> ExpiresActive On
>
> ExpiresDefault "access plus 30 minute"
>
> RewriteEngine On
>
> RewriteCond %{REQUEST_METHOD} ^TRACE
>
> RewriteRule .* - [F]
>
> </VirtualHost>
>
> Thanks
>
> Tim
>
>
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --re...
2017 Mar 14
2
httpd/sites-available directory
I just received some advice from a colleague of a colleague over at
openssl.org. But they use debian. Please look at this and help me out
on how Centos7 handles this:
Note the comment of the location of virtualhost config files. Centos7
does not have a "man a2ensite".
thanks
Rewriterules and https. Actually, looking at what you have doesn't
really tell me why it gets applied
2015 Aug 28
0
apache mysterious 404 error
...gt;
> DirectoryIndex index.html
>
> AddHandler cgi-script .cgi
>
> Options -Indexes +FollowSymLinks +ExecCGI +Includes
>
> AllowOverride All
>
> Require all granted
>
> </Directory>
>
> ExpiresActive On
>
> ExpiresDefault "access plus 30 minute"
>
> RewriteEngine On
>
> RewriteCond %{REQUEST_METHOD} ^TRACE
>
> RewriteRule .* - [F]
>
> </VirtualHost>
>
> Thanks
>
> Tim
>
>
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --re...