What is Options +FollowSymLinks?

You might try searching the internet for “.htaccess Options not allowed here”. A suggestion I found (using google) is: Check to make sure that your httpd.conf file has AllowOverride All. A .htaccess file that works for me on Mint Linux (placed in the Laravel /public folder): Hope this helps you. Otherwise you could ask a … Read more

OSError – Errno 13 Permission denied

You need to change the directory permission so that web server process can change the directory. To change ownership of the directory, use chown:chown -R user-id:group-id /path/to/the/directory To see which user own the web server process (change httpd accordingly):ps aux | grep httpd | grep -v grep ORps -efl | grep httpd | grep -v grep

Redirect vs RedirectMatch

Redirect is supposed to redirect all URLs starting with the string. Since the URL you redirect to started with that string, naturally you instantly redirected again. RedirectMatch redirects URLs that match a regular expression. You used $ to explicitly match the end of the URL as part of that. That means that “starting with” is not enough.

PHP $_SERVER[‘HTTP_HOST’] vs. $_SERVER[‘SERVER_NAME’], am I understanding the man pages correctly?

That’s probably everyone’s first thought. But it’s a little bit more difficult. See Chris Shiflett’s article SERVER_NAME Versus HTTP_HOST. It seems that there is no silver bullet. Only when you force Apache to use the canonical name you will always get the right server name with SERVER_NAME. So you either go with that or you check the host name against a white … Read more

How to enable mod_rewrite for Apache 2.2

In order to use mod_rewrite you can type the following command in the terminal: Restart apache2 after or or as per new unified System Control Way Then, if you’d like, you can use the following .htaccess file. The above .htaccess file (if placed in your DocumentRoot) will redirect all traffic to an index.php file in the DocumentRoot unless the file exists. So, let’s say you have … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)