SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Nov 2000
    London, UK
    0 Post(s)
    0 Thread(s)
    Hi all,
    This is most embarrassing , but I reinstalled my Apache Server (I'm using Win98 on an Intel), installed PHP and MySQL and everything went fine. Then, I went out and tried to install mod_perl, and it didn't work, so I ditched that, and tried to install regular Perl, which doesn't seem to work either. And in the meantime, while editing my .conf's, I seem to have messed something up. I've got my DirectoryIndex line set like this:
    DirectoryIndex index.phtml, index.php, index.html, index.htm, index.*
    and my AllowOverRide:
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    Anyone know what's wrong with all that. httpd.conf is copy pasted underneath. THanks, dan.
    ### Section 1: Global Environment
    ServerType standalone
    ServerName localhost
    ServerRoot "C:/phpdev/apache"
    PidFile logs/
    ScoreBoardFile logs/apache_status
    ResourceConfig conf/srm.conf
    AccessConfig conf/access.conf
    Timeout 300
    KeepAlive On
    MaxKeepAliveRequests 100
    KeepAliveTimeout 15
    MaxRequestsPerChild 0
    ThreadsPerChild 50
    LoadModule anon_auth_module modules/ApacheModuleAuthAnon.dll
    LoadModule cern_meta_module modules/ApacheModuleCERNMeta.dll
    LoadModule digest_module modules/ApacheModuleDigest.dll
    LoadModule expires_module modules/ApacheModuleExpires.dll
    LoadModule headers_module modules/ApacheModuleHeaders.dll
    #LoadModule proxy_module modules/ApacheModuleProxy.dll
    LoadModule rewrite_module modules/ApacheModuleRewrite.dll
    LoadModule speling_module modules/ApacheModuleSpeling.dll
    LoadModule status_module modules/ApacheModuleStatus.dll
    LoadModule usertrack_module modules/ApacheModuleUserTrack.dll
    ### Section 2: 'Main' server configuration
    Port 80
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "C:/phpdev/www"
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    DirectoryIndex index.phtml, index.php, index.html, index.htm, index.*
    TypesConfig conf/mime.types
    DefaultType text/plain
    <IfModule mod_mime_magic.c>
        MIMEMagicFile conf/magic
    HostnameLookups On
    ErrorLog logs/error.log
    LogLevel warn
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent
    CustomLog logs/access.log common
    ServerSignature Off
    Alias /icons/ "C:/phpdev/apache/icons/"
    ScriptAlias /php/ "C:/phpdev/php/"
    ScriptAlias /php2/ "C:/phpdev/php2/"
    ScriptAlias /php3/ "C:/phpdev/php3/"
    AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
    AddIconByType (TXT,/icons/text.gif) text/*
    AddIconByType (IMG,/icons/image2.gif) image/*
    AddIconByType (SND,/icons/sound2.gif) audio/*
    AddIconByType (VID,/icons/movie.gif) video/*
    AddIcon /icons/binary.gif .bin .exe
    AddIcon /icons/binhex.gif .hqx
    AddIcon /icons/tar.gif .tar
    AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
    AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
    AddIcon /icons/a.gif .ps .ai .eps
    AddIcon /icons/layout.gif .html .shtml .htm .pdf
    AddIcon /icons/text.gif .txt
    AddIcon /icons/c.gif .c
    AddIcon /icons/p.gif .pl .py
    AddIcon /icons/f.gif .for
    AddIcon /icons/dvi.gif .dvi
    AddIcon /icons/uuencoded.gif .uu
    AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
    AddIcon /icons/tex.gif .tex
    AddIcon /icons/bomb.gif core
    AddIcon /icons/back.gif ..
    AddIcon /icons/hand.right.gif README
    AddIcon /icons/folder.gif ^^DIRECTORY^^
    AddIcon /icons/blank.gif ^^BLANKICON^^
    DefaultIcon /icons/unknown.gif
    AddEncoding x-compress Z
    AddEncoding x-gzip gz tgz
    AddType application/x-httpd-php4 .phtml .pwml
    AddType application/x-httpd-php4 .php4 .php .php3 .php2
    #AddType application/x-httpd-php2 .php2
    #AddType application/x-httpd-php3 .php3
    AddType text/vnd.wap.wml .wml
    AddType application/vnd.wap.wmlc .wmlc
    AddType text/vnd.wap.wmlscript .wmls
    AddType text/vnd.wap.wmlscriptc .wmlsc
    AddType image/vnd.wap.wbmp .wbmp
    AddType application/x-tar .tgz
    Action application/x-httpd-php4 "/php/php.exe"
    #Action application/x-httpd-php2 "/php2/php.exe"
    #Action application/x-httpd-php3 "/php3/php.exe"
    <Location /server-status>
        SetHandler server-status
    <Location /server-info>
        SetHandler server-info
        Order deny,allow
    Alias /mysql/ "c:/phpdev/phpmyadmin/"
    Alias /pws/ "c:/inetpub/wwwroot"

    ... what's the world coming to?

  2. #2
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Derbyshire, UK
    0 Post(s)
    0 Thread(s)
    Your php lines should read:


    and not


    From what I can tell that is what's causing your problems.
    Karl Austin :: Profile :: KDA Web Services Ltd.
    Business Web Hosting :: Managed Dedicated Hosting
    Call 0800 542 9764 today and ask how we can help your business grow.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts