From: Serge <skompan@kspu.kr.ua> To: ALT Linux Community <community@lists.altlinux.org> Subject: [Comm] не подключается mod_rewrite Date: Thu, 5 Jul 2007 14:31:59 +0300 Message-ID: <200707051431.59808.skompan@kspu.kr.ua> (raw) Здравствуйте! Дистрибутив Server 4.0 apache-common-1.3.37rusPL30.23-alt3 apache-mod_php-4.4.7-alt1 apache-1.3.37rusPL30.23-alt3 lightsquid-apache-1.7.1-alt1 создаю в директории /var/www/html/lightsquid файл .htaccess такого содержания RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://my.site.org/$1 [R,L] AuthType Basic AuthName "Restricted Directory" AuthUserFile /etc/httpd/Admin/pass require user andy в httpd.conf подключил модуль mod_rewrite cat /etc/httpd/conf/httpd.conf|grep ^[^#\;]|grep mod_rewrite LoadModule rewrite_module modules/mod_rewrite.so делаю service httpd restart в логах получаю: Thu Jul 5 14:27:58 2007] [error] Cannot remove module mod_rewrite.c: not found in module list При заходе на страницу, в логах получаю ошибку Thu Jul 5 14:23:21 2007] [alert] [client 192.168.1.1] /var/www/html/lightsquid/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration Почему модуль не подключается?
next reply other threads:[~2007-07-05 11:31 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-07-05 11:31 Serge [this message] 2007-07-05 11:35 ` Владимир Черный 2007-07-06 5:17 ` Serge 2007-07-06 6:55 ` Владимир Черный
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200707051431.59808.skompan@kspu.kr.ua \ --to=skompan@kspu.kr.ua \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git