Posts Tagged ‘ Apache ’
If you want multiple VirtualHosts on the same IP address and port you are going to require a NamedVirtualHost directive. If you are configuring multiple virtual hosts on different IP addresses but all on the same port you do NOT require the NamedVirtualHost directive. If you are configuring multiple virtual hosts on the same IP [ READ MORE ]
This cheat sheet was taken from here: http://borkweb.com/story/apache-rewrite-cheatsheet Examples: Site has moved to a new domain: RewriteCond %{HTTP_HOST} ^www.domain.com$ [NC] RewriteRule ^(.*)$ http://www.domain2.com/$1 [R=301,L] Page has moved temporarily, domain.com/page.html to domain.com/new_page.html RewriteRule ^page.html$ new_page.html [R,NC,L] Block referrer spam RewriteCond %{HTTP_REFERRER} (weight) [NC,OR] RewriteCond %{HTTP_REFERRER} (drugs) [NC] RewriteRule .* – [F] I wanted to redirect a [ READ MORE ]
I recently ran into an expression in an httpd.conf file that got me to researching Redirect The configuration directives tell Apache to get content from a specific place in the filesystem and return it to the client. Sometimes it is desirable, instead to inform the client that the requested content is located at a different [ READ MORE ]
Permission denied: /home/dsweeney/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable I have seen several posts describing how to resolve this error message. Most of them are mentioning an images directory. I have run into this issue as a sys admin where I allow user directories to be web accessible. The public_html directory in [ READ MORE ]
About Below are steps to configure a shibboleth SP to work with multiple Apache virtual hosts using a single entityID and an Assertion Consumer Service (ACS) and shibboleth’s NativeSPApplicationOverride. More information can be found here regarding NativeSPApplicationOverride You will need to do this if you are running more than one virtual named host and each virtual [ READ MORE ]
Get every new post delivered to your Inbox.