mod_alais

Discussion in 'Apache' started by JoeSaddigh, Jan 22, 2010.

  1. #1
    Hi,

    I am trying to do a simple mod_alias but it is not working

    The first page is not even opening when I run my software (it will if i take out the alias code)

    The strange thing is that the first page will not open but this is not the alias that I have set.

    An example of my httpd.conf file is as follows:


    
    ServerName test
    Listen 80
    ServerRoot .
    LogLevel warn
    
    ServerAdmin webmaster@nowhere.com
    # load usefull modules.
    LoadModule authz_host_module mod_authz_host.dll
    LoadModule dir_module mod_dir.dll
    LoadModule ext_filter_module mod_ext_filter.dll
    LoadModule mime_module mod_mime.dll
    LoadModule headers_module mod_headers.dll
    
    AcceptPathInfo off
    KeepAlive On
    KeepAliveTimeout 15
    ServerTokens Prod
    TimeOut 30
    DirectoryIndex index.html index.html.var index.htm index.php
    
    <FilesMatch "\.(ico|gif|jpg|jpeg|png|flv|pdf)$">
      Header set Cache-Control "max-age=29030400"
    </FilesMatch>
    # WEEK
    <FilesMatch "\.(js|css|swf)$">
      Header set Cache-Control "max-age=604800"
    </FilesMatch>
    # 45 MIN
    <FilesMatch "\.(html|htm|txt)$">
      Header set Cache-Control "no-store"
    </FilesMatch>
    
    <IfModule mod_mime.c>
      TypesConfig mime.types.dll
    </IfModule>
    
    Alias /METREPORT_TCL.html/ /cgi
    <Directory /cgi>
    Order allow,deny
    Allow from all
    </Directory> 
    
    
    #ExtFilterDefine inforeplace mode=output intype=text/html outtype=text/html cmd="InfoReplace.exe"
    
    
    Code (markup):
    The first page that is opened by the software is:
    http://dev52/NORTH_090518/NORTH_090518.htm

    And this will not even open....

    Please any advice would be much appreciated.

    Thanks
     
    JoeSaddigh, Jan 22, 2010 IP