Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th May 2009, 10:26
paxpacis paxpacis is offline
Member
 
Join Date: Jan 2009
Posts: 31
Thanks: 11
Thanked 0 Times in 0 Posts
Default Apache Directives (Optional): for me and joomla not so optional.

Hello,

To make most of the joomla installations working with user friendly urls and other plugins I need to set these apache directives.

<Directory /var/www/webxx/web/>
Options +Includes +FollowSymlinks -Indexes
AllowOverride All
Order allow,deny
Allow from all
<Files ~ "^\.ht">
Deny from all
</Files>
</Directory>

I found this on the web and when I used it the joomla site works.

- Is there a way to change this for all websites as default?
- Is this setting harmfull or not hacker save?
- Are there other/better solutions.

Thank you in advance..
Reply With Quote
Sponsored Links
  #2  
Old 20th May 2009, 21:52
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Quote:
- Is there a way to change this for all websites as default?
Yes, change it in apache2.conf or httpd.conf file. But be aware that this is very insecure when you set "AllowOverride All".
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 22nd May 2009, 01:11
_X_ _X_ is offline
Senior Member
 
Join Date: Oct 2008
Posts: 247
Thanks: 8
Thanked 37 Times in 35 Posts
Default

here is conf that I use for joomla:

http://howtoforge.com/forums/showpos...1&postcount=19
Reply With Quote
  #4  
Old 22nd May 2009, 01:12
_X_ _X_ is offline
Senior Member
 
Join Date: Oct 2008
Posts: 247
Thanks: 8
Thanked 37 Times in 35 Posts
 
Default

No need to change much on apache2.conf or httpd.conf
Reply With Quote
Reply

Bookmarks

Tags
apache directives, joomla

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with suexec gobokster Installation/Configuration 7 7th May 2009 13:33
suPHP, Joomla! 1.5, file & diretory permissions pjdevries Installation/Configuration 17 19th June 2008 02:58
can't make work joomla + sef + .htaccess bochenn General 9 4th April 2007 13:47


All times are GMT +2. The time now is 16:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.