skip to Main Content

Cut Apache virtual host block

I'm trying to cut certain virtual host from file which has a lot of them using bash. Eg. in my script I would like to get virtual host which uses the_one_known2.example.com, but another time the_one_known3.example.com, namely I would like to…

VIEW QUESTION

.htaccess redirects too many times – Apache

I have written a .htaccess for the subdomain but it redirects too many times. my complete code looks like RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ http://subdomain/$1 [R,L] RewriteEngine On RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*)$…

VIEW QUESTION

PHP script with a long header – Apache

The Apache server I work with returns a 500 error due to too large a header. Specifically, the header is this: X-Drupal-Cache-Tags: block_view config: admin_toolbar_search.settings ... ... rendered user: 123456 views_data It is a header that occupies more than 9K.…

VIEW QUESTION
Back To Top
Search