Tags » Htaccess

Get error_log .htaccess

So, do you have an error on your web application and you can find it on error log?
There’s a way to log errors by the .htaccess file… 15 more words

Programação

WordPress Self-hosting Error Fix... "You don't have permission to access on this server"

Don´t be confused. This short article here won´t be about blogs that are hosted on WordPress but a post for people who have chosen to self-host a WordPress CMS installation on their own servers or hosting providers. 487 more words

Computer

Apache redirects and performance issues

Where should you put a redirection rule in Apache?

This is the story: I am serving a widget for a client, on their homepage. This client has a huge amount of traffic, much more than what I normally have for my application. 180 more words

Unix

Cara enable apache module rewrite pada ubuntu

Langkah pertama buka terminal (Alt+ctrl+t)

sudo a2enmod rewrite
sudo /etc/init.d/apache2 restart  

kemudian

sudo gedit /etc/apache2/sites-available/default   

lalu edit

Options Indexes FollowSymLinks MultiViews 
# AllowOverride -> changed from 'None' to 'FileInfo' 
# Commented by: yourname 
AllowOverride FileInfo 
Order allow,deny 
allow from all
… 16 more words
Ubuntu

Hiding index.php from url in Codeigniter

I recently migrated to a new apache server and realised that the url was working correctly only if index.php is suffixed to the base url. On a localhost it looks like this… 196 more words

.htaccess

Drupal .htaccess

To access the files Form server 

RewriteCond %{REQUEST_URI} ^/sites/default/files/(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ http://example.com/$1

.htaccess