set permission for httpd-xampp.conf in ubuntu


New xampp security concept:  Access to the requested object is only available from the local network.  This setting can be configured in the file “httpd-xampp.conf”.

I found this solution from forum and posted it,because every user facing this permission problem can find it easly.

In a terminal:

Code: Select all

sudo gedit /opt/lampp/etc/extra/httpd-xampp.conf

In gedit, Find:

<Directory “/opt/lampp/phpmyadmin”>

And add the line to the <Directory>:

Require all granted

After this, the section reads:

Code: Select all

<Directory”/opt/lampp/phpmyadmin”>

AllowOverride AuthConfig Limit

Order allow,deny

Allow from all

Require all granted

</Directory>

Save the file, close gedit, then back at the terminal:

Code: Select all

/opt/lampp/lampp restart

Advertisements
About

myself pramodh kumar yet another php developer from India and have worked on oops,procedural,yii framework,codeigniter,wordpress,joomla,api and more.

Tagged with: , , , , , , , , ,
Posted in ubuntu php

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow php tutorial on WordPress.com
categories
Calendar
January 2014
M T W T F S S
« Dec   Feb »
 12345
6789101112
13141516171819
20212223242526
2728293031  
Follow me on Twitter
Blog Stats
  • 74,607 hits
%d bloggers like this: