Posts Tagged ‘.htaccess’

vBulletin: Non-www to www redirection [SOLVED]

Another common thing I usually do for my clients is to redirect non-www version of their vbulletin forums to www-version. This can be easily achieved by creating a .htaccess file which contains: RewriteEngine On RewriteCond %{HTTP_HOST} ^domain.com RewriteRule (.*) http://www.domain.com/$1 [R=301,L] Just replace domain.com with your domain name and upload the file to the /public_html [...]

vBulletin: change the redirect or the url in the login process

There is a common thing for vBulletin users to want to customize the login box. This can be done by Admin CP -> Styles & Templates -> Style Manager -> « » -> Navigation / Breadcrumb Templates -> navbar (Note for spanish users: Buscar Plantillas de navegación entre las plantillas, y dentro de ella, navbar) [...]

Burp suite, foxy proxyand mod_rewrite

Currently I am attending a workshop on Designing Secure Wep Apps and there I learned about Burp suite and Foxy proxy (standard). What is Burp Suite? Burp Suite is an integrated platform for attacking web applications. It contains all of the Burp tools with numerous interfaces between them designed to facilitate and speed up the [...]

Protect your site with password to ldap users and not-ldap (privileged) users

Some time ago I explained how to protect site access with .htaccess. Now I want to do something a bit more complex: I want to control access to my (apache) webserver so that users have to authenticate to LDAP server to access one of my websites. I also want to have some “special” users which [...]

Protect site with password using .htaccess

Suppose you want to protect some directory in your website with a user/password access. Here is the quick way to do it: – Edit /etc/httpd/conf/httpd.conf – Look for the directory you want to protect (i.e. /) – Define the protection like the following: 1 2 3 4 5 6 7 <Directory /soft/cds-invenio/var/www> Options FollowSymLinks MultiViews [...]

mod_rewrite: RewriteCond, RewriteRule, QUERY_STRING, REQUEST_URI [GUIA RÁPIDA]

[Sorry for the english speakers, today I'm not in the mood for translating this] Uno de mis clientes me ha pedido redireccionar su blog (un wordpress situado en /blog) a su nueva web en Joomla, que incluye el blog en el propio CMS. Hasta ahora copiaban las noticias en ambos sitios: tanto en el blog [...]

A real case example: my .htaccess in /wordpress subdirectory

Might be helpful for people wanting to know how is a real .htaccess. This is the one I have in /wordpress: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On   RewriteRule ^Wordpress/PhotoGallery$ photogallery/ RewriteRule ^PhotoGallery$ photogallery/ RewriteRule ^photoGallery$ [...]

Paypal donate

Please help me keep this blog up by donating.

Por favor, ayúdame a continuar con el blog donando.