Open Source Web Development with LAMP Using Linux, Apache, MySQL, Perl, and PHP [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Open Source Web Development with LAMP Using Linux, Apache, MySQL, Perl, and PHP [Electronic resources] - نسخه متنی

James Lee, Brent Ware

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید










7.2 Apache Configuration


Apache should be correctly configured if Linux was installed as suggested in Chapter 2. Nonetheless, two directives in /etc/httpd/conf/httpd.conf should be checked before you start using CGI. The ScriptAlias directive should be set to the proper directory:


ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

The cgi-bin directory should have the proper options:


<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

The AllowOverride directive tells the server how to handle HTTP authentication with .htaccess files. When the directive is set to None, .htaccess files are ignored.

If you changed anything in httpd.conf, restart the server:


# /etc/init.d/httpd graceful


/ 136