1

我正在尝试auth.phphttp://localhost/tripsys/new_admin/auth/{whatever_function_name}.

当前结构:

Root
└──vmt
   ├──.htaccess
   └──tripsys
      ├──.htaccess
      └──jempe
         └──application
            └─controllers
              └──new_admin
                 └──auth.php

vmt/.htaccess内容:

Options -Indexes

tripsys/.htaccess内容:

    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /tripsys/
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ index.php/$1 [L]
    </IfModule>

    <IfModule !mod_rewrite.c>
        # If we don't have mod_rewrite installed, all 404's
        # can be sent to index.php, and everything works as normal.
        # Submitted by: ElliotHaughin

        ErrorDocument 404 /index.php
    </IfModule>

我已经尝试更改/tripsys//tripsys/new_adminin /tripsys/.htaccess,但仍然得到 404。

4

0 回答 0