<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>12743</bug_id>
          
          <creation_ts>2007-09-11 03:09:46 +0400</creation_ts>
          <short_desc>mod_rewrite и mod_alias</short_desc>
          <delta_ts>2008-01-25 15:05:36 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>seiroswiki-apache2</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="barabashka">barabashka</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>55016</commentid>
    <comment_count>0</comment_count>
    <who name="barabashka">barabashka</who>
    <bug_when>2007-09-11 03:09:46 +0400</bug_when>
    <thetext>Текущий конфиг не работоспособен. При попытке зайти по localhost/wiki получаю 
Error 404,  в логах
[Tue Sep 11 03:06:38 2007] [error] [client 127.0.0.1] File does not exist:
/var/www/apache2/html/var
Попытка открыть
/var/www/apache2/html/var/www/html/addon-modules/seiroswiki/wakka.php. После
убирание из конфига строк с rewrite, все благополучно запускается.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55017</commentid>
    <comment_count>1</comment_count>
    <who name="barabashka">barabashka</who>
    <bug_when>2007-09-11 04:16:26 +0400</bug_when>
    <thetext>(In reply to comment #0)
&gt; Текущий конфиг не работоспособен. При попытке зайти по localhost/wiki получаю 
&gt; Error 404,  в логах
&gt; [Tue Sep 11 03:06:38 2007] [error] [client 127.0.0.1] File does not exist:
&gt; /var/www/apache2/html/var
&gt; Попытка открыть
&gt; /var/www/apache2/html/var/www/html/addon-modules/seiroswiki/wakka.php. После
&gt; убирание из конфига строк с rewrite, все благополучно запускается.

Правильный вариант A.seiroswiki.conf rewrite
 &lt;IfModule mod_rewrite.c&gt;
    RewriteEngine on
    RewriteBase /wiki
    RewriteCond %{REQUEST_FILENAME}  -d
    RewriteRule ^(.*/[^\./]*[^/])$ $1/
    RewriteRule ^(robots\.txt)$ robots.txt [L]
    RewriteRule ^(favicon\.ico)$ favicon.ico [L]
    RewriteRule ^(.*)$ wakka.php?wakka=$1 [QSA,L]
  &lt;/IfModule&gt;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55022</commentid>
    <comment_count>2</comment_count>
    <who name="Vladimir V. Kamarzin">vvk</who>
    <bug_when>2007-09-11 09:45:08 +0400</bug_when>
    <thetext>Fixed in 0.0.1-alt7.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>