Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

30.8. Make Apache aware Faq-O-Matic file's location

Once Faq-O-Matic has been installed in the system, we must add the following lines to the httpd.conf file of Apache to be able to locate and use it's features.

  1. Edit the httpd.conf file, vi /etc/httpd/conf/httpd.conf and add the following lines between the section tags <IfModule mod_alias.c> and </IfModule>:
                Alias /faqomatic/ "/home/httpd/faqomatic/"
                <Directory "/home/httpd/faqomatic">
                Options None
                AllowOverride None
                Order allow,deny
                Allow from all
                </Directory>
                Alias /bags/ "/home/httpd/faqomatic/bags/"
                <Directory "/home/httpd/faqomatic/bags">
                Options None
                AllowOverride None
                Order allow,deny
                Allow from all
                </Directory>
                Alias /cache/ "/home/httpd/faqomatic/cache/"
                <Directory "/home/httpd/faqomatic/cache">
                Options None
                AllowOverride None
                Order allow,deny
                Allow from all
                </Directory>
                Alias /item/ "/home/httpd/faqomatic/item/"
                <Directory "/home/httpd/faqomatic/item">
                Options None
                AllowOverride None
                Order allow,deny
                Allow from all
                </Directory>
              

  2. Don't forget to restart your Apache web server once you have added the above lines to its httpd.conf file:
                [root@deep ] /# /etc/rc.d/init.d/httpd restart
              
    
            Shutting down https:                                        	[  OK  ]
                Starting httpd:                                            	[  OK  ]
              

 
 
  Published under the terms of the Open Publication License Design by Interspire