All pastes #672798 Raw Edit

skyle suse apache rewrite

public text v1 · immutable
#672798 ·published 2007-08-27 21:40 UTC
rendered paste body
--- this is joe /etc/apache2/default-server.conf


<Directory "/srv/www/htdocs">
        # Possible values for the Options directive are "None", "All",
        # or any combination of:
        #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiV
        #
        # Note that "MultiViews" must be named *explicitly* --- "Options All"
        # doesn't give it to you.
        #
        # The Options directive is both complicated and important.  Please see
        # http://httpd.apache.org/docs-2.2/mod/core.html#options
        # for more information.
Options None
        # AllowOverride controls what directives may be placed in .htaccess fil
        # It can be "All", "None", or any combination of the keywords:
        #   Options FileInfo AuthConfig Limit
AllowOverride None
        # Controls who can get stuff from this server.
        # Controls who can get stuff from this server.
Order allow,deny
 Allow from all
</Directory>


<Directory /sie>
 Options None
 AllowOverride All
 Order deny,allow
 Deny from all
</Directory>


---- this is the structure directory of apache configs

suse10:~ # joe /etc/apache2/
charset.conv                 mod_perl-startup.pl
conf.d/                      mod_status.conf
default-server.conf          mod_userdir.conf
default-server.conf~         mod_usertrack.conf
errors.conf                  server-tuning.conf
extra/                       ssl-global.conf
httpd.conf                   ssl.crl/
listen.conf                  ssl.crt/
magic                        ssl.csr/
mime.types                   ssl.key/
mod_autoindex-defaults.conf  ssl.prm/
mod_info.conf                sysconfig.d/
mod_log_config.conf          uid.conf
mod_mime-defaults.conf       vhosts.d/
suse10:~ # joe /etc/apache2/vhosts.d/vhost
vhost-ssl.template  vhost.template