域名访问配置

1 .htaccess 配置

#
# Apache/PHP/ settings:
#

Options -Indexes
Options +FollowSymLinks

RewriteEngine on

RewriteCond $1 !^(index\.php|static|config\.xml|crossdomain\.xml)
RewriteRule ^(.*)$ index.php/$1 [L]

2.apache/conf/extra/httpd-vhosts.conf

<VirtualHost *:80>
    DocumentRoot "F:/AppServ/www/funshow/web/admin/"
    ServerName  admin.funshow.com
    ServerAlias admin.funshow.com
    <Directory "F:/AppServ/www/funshow/web/admin/">
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

3.httpd-info.conf

search vhost

 

 

你可能感兴趣的:(职场,域名,Settings,休闲)