Welcome to the RaGEZONE - MMORPG development forums.

How to fix Xampp Security Concept Error!

This is a discussion on How to fix Xampp Security Concept Error! within the Habbo Tutorials forums, part of the Habbo Hotel category; Hello RaGEZONE users.. Ive saw how some people have been in the help section asking how to fix the security ...

LyncusMU
Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    Im Back!
    Rank
    Member +
    Join Date
    Sep 2010
    Posts
    308
    Liked
    22

    How to fix Xampp Security Concept Error!

    Tabo Hotel
    Hello RaGEZONE users.. Ive saw how some people have been in the help section asking how to fix the security concept error so i decided to make a thread on how to fix it.


    Ok open up your xampp folder then go to apache then conf then extra then open up httpd-xampp.conf then replace it with this:

    Code:
    #
    # XAMPP settings
    #
    
    <IfModule env_module>
        SetEnv MIBDIRS "C:/xampp/php/extras/mibs"
        SetEnv MYSQL_HOME "C:\\xampp\\mysql\\bin"
        SetEnv OPENSSL_CONF "C:/xampp/apache/bin/openssl.cnf"
        SetEnv PHP_PEAR_SYSCONF_DIR "C:\\xampp\\php"
        SetEnv PHPRC "C:\\xampp\\php"
        SetEnv TMP "C:\\xampp\\tmp"
        UnsetEnv PERL5LIB
    </IfModule>
    
    #
    # PHP-Module setup
    #
    LoadFile "C:/xampp/php/php5ts.dll"
    LoadModule php5_module modules/php5apache2_2.dll
    
    <IfModule php5_module>
        <FilesMatch "\.php$">
            SetHandler application/x-httpd-php
        </FilesMatch>
        <FilesMatch "\.phps$">
            SetHandler application/x-httpd-php-source
        </FilesMatch>
    
        PHPINIDir "C:/xampp/php"
    </IfModule>
    
    #
    # PHP-CGI setup
    #
    <IfModule !php5_module>
        <FilesMatch "\.php$">
            SetHandler application/x-httpd-php-cgi
        </FilesMatch>
        <IfModule actions_module>
            Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe"
        </IfModule>
    </IfModule>
    
    
    <IfModule mime_module>
        AddType text/html .php .phps
    </IfModule>
    
    ScriptAlias /php-cgi/ "C:/xampp/php/"
    <Directory "C:/xampp/php">
        AllowOverride None
        Options None
        Order deny,allow
        Deny from all
        <Files "php-cgi.exe">
            Allow from all
        </Files>
    </Directory>
    
    <Directory "C:/xampp/cgi-bin">
        <FilesMatch "\.php$">
            SetHandler cgi-script
        </FilesMatch>
        <FilesMatch "\.phps$">
            SetHandler None
        </FilesMatch>
    </Directory>
    
    <Directory "C:/xampp/htdocs/xampp">
        <IfModule php5_module>
        	<Files "status.php">
        		php_admin_flag safe_mode off
        	</Files>
        </IfModule>
        AllowOverride AuthConfig
    </Directory>
    
    <IfModule alias_module>
        Alias /security "C:/xampp/security/htdocs/"
        <Directory "C:/xampp/security/htdocs">
            <IfModule php5_module>
        		<Files "xamppsecurity.php">
        			php_admin_flag safe_mode off
        		</Files>
            </IfModule>
            AllowOverride AuthConfig
       </Directory>
    
        Alias /licenses "C:/xampp/licenses/"
        <Directory "C:/xampp/licenses">
            Options +Indexes
            <IfModule autoindex_color_module>
                DirectoryIndexTextColor  "#000000"
                DirectoryIndexBGColor "#f8e8a0"
                DirectoryIndexLinkColor "#bb3902"
                DirectoryIndexVLinkColor "#bb3902"
                DirectoryIndexALinkColor "#bb3902"
            </IfModule>
       </Directory>
    
        Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
        <Directory "C:/xampp/phpMyAdmin">
            AllowOverride AuthConfig
        </Directory>
    
        Alias /webalizer "C:/xampp/webalizer/"
        <Directory "C:/xampp/webalizer">
            <IfModule php5_module>
        		<Files "webalizer.php">
        			php_admin_flag safe_mode off
        		</Files>
            </IfModule>
            AllowOverride AuthConfig
        </Directory>
    </IfModule>
    
    #
    # New XAMPP security concept
    #
    <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
        Order deny,allow
        Allow from all
        Allow from All
    
        ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
    </LocationMatch>
    Ok once you have done that save it and reboot apache and your done!

    If i helped please press the thanks button

  2. HostKey.com: Unmetered Dedicated servers in the Netherlands
  3. #2
    Daiguren Hyōrinmaru
    Rank
    Member +
    Join Date
    Jul 2010
    Location
    Michigan, US
    Posts
    1,434
    Liked
    49

    Re: How to fix Xampp Security Concept Error!

    Wow thanks I use this code. and it fixed my problem also.

    ---------- Post added at 06:18 PM ---------- Previous post was at 06:18 PM ----------

    #
    # XAMPP settings
    #

    <IfModule env_module>
    SetEnv MIBDIRS "C:/xampp/php/extras/mibs"
    SetEnv MYSQL_HOME "C:\\xampp\\mysql\\bin"
    SetEnv OPENSSL_CONF "C:/xampp/apache/bin/openssl.cnf"
    SetEnv PHP_PEAR_SYSCONF_DIR "C:\\xampp\\php"
    SetEnv PHPRC "C:\\xampp\\php"
    SetEnv TMP "C:\\xampp\\tmp"
    UnsetEnv PERL5LIB
    </IfModule>

    #
    # PHP-Module setup
    #
    LoadFile "C:/xampp/php/php5ts.dll"
    LoadModule php5_module modules/php5apache2_2.dll

    <IfModule php5_module>
    <FilesMatch "\.php$">
    SetHandler application/x-httpd-php
    </FilesMatch>
    <FilesMatch "\.phps$">
    SetHandler application/x-httpd-php-source
    </FilesMatch>

    PHPINIDir "C:/xampp/php"
    </IfModule>

    #
    # PHP-CGI setup
    #
    <IfModule !php5_module>
    <FilesMatch "\.php$">
    SetHandler application/x-httpd-php-cgi
    </FilesMatch>
    <IfModule actions_module>
    Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe"
    </IfModule>
    </IfModule>


    <IfModule mime_module>
    AddType text/html .php .phps
    </IfModule>

    ScriptAlias /php-cgi/ "C:/xampp/php/"
    <Directory "C:/xampp/php">
    AllowOverride None
    Options None
    Order deny,allow
    Deny from all
    <Files "php-cgi.exe">
    Allow from all
    </Files>
    </Directory>

    <Directory "C:/xampp/cgi-bin">
    <FilesMatch "\.php$">
    SetHandler cgi-script
    </FilesMatch>
    <FilesMatch "\.phps$">
    SetHandler None
    </FilesMatch>
    </Directory>

    <Directory "C:/xampp/htdocs/xampp">
    <IfModule php5_module>
    <Files "status.php">
    php_admin_flag safe_mode off
    </Files>
    </IfModule>
    AllowOverride AuthConfig
    </Directory>

    <IfModule alias_module>
    Alias /security "C:/xampp/security/htdocs/"
    <Directory "C:/xampp/security/htdocs">
    <IfModule php5_module>
    <Files "xamppsecurity.php">
    php_admin_flag safe_mode off
    </Files>
    </IfModule>
    AllowOverride AuthConfig
    </Directory>

    Alias /licenses "C:/xampp/licenses/"
    <Directory "C:/xampp/licenses">
    Options +Indexes
    <IfModule autoindex_color_module>
    DirectoryIndexTextColor "#000000"
    DirectoryIndexBGColor "#f8e8a0"
    DirectoryIndexLinkColor "#bb3902"
    DirectoryIndexVLinkColor "#bb3902"
    DirectoryIndexALinkColor "#bb3902"
    </IfModule>
    </Directory>

    Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
    <Directory "C:/xampp/phpMyAdmin">
    AllowOverride AuthConfig
    </Directory>

    Alias /webalizer "C:/xampp/webalizer/"
    <Directory "C:/xampp/webalizer">
    <IfModule php5_module>
    <Files "webalizer.php">
    php_admin_flag safe_mode off
    </Files>
    </IfModule>
    AllowOverride AuthConfig
    </Directory>
    </IfModule>

    #
    # New XAMPP security concept
    #
    <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
    Order deny,allow
    #Deny from all
    Allow from all
    #::1 127.0.0.0/8 \
    #fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
    #fe80::/10 169.254.0.0/16

    ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
    </LocationMatch>

    ---------- Post added at 06:20 PM ---------- Previous post was at 06:18 PM ----------

    sorry that I didn't put it in 1 of those thingy forgot :p

  4. #3
    Newbie
    Rank
    Newbie
    Join Date
    Jun 2010
    Posts
    20
    Liked
    0

    Re: How to fix Xampp Security Concept Error!

    For me dont work still the tut is good but dont help me

  5. #4
    Im Back!
    Rank
    Member +
    Join Date
    Sep 2010
    Posts
    308
    Liked
    22

    Re: How to fix Xampp Security Concept Error!

    It should work Yugi And im glad i helped No0b.. Please press the thanks button :)
    No0b likes this.

  6. #5
    Daiguren Hyōrinmaru
    Rank
    Member +
    Join Date
    Jul 2010
    Location
    Michigan, US
    Posts
    1,434
    Liked
    49

    Re: How to fix Xampp Security Concept Error!

    yugi, try my code to l0l.

  7. #6
    Newbie
    Rank
    Newbie
    Join Date
    Sep 2010
    Location
    In A House
    Posts
    10
    Liked
    1

    Re: How to fix Xampp Security Concept Error!

    Cheers TheJigsaw :P Helped Quite A Lot As I Was Having A Problem With Xampp And That Exact Error :)) Thanks Will Press The Thanks Button.

  8. #7
    Im Back!
    Rank
    Member +
    Join Date
    Sep 2010
    Posts
    308
    Liked
    22

    Re: How to fix Xampp Security Concept Error!

    Im Glad it helped mate..

  9. #8
    Monster Member
    Rank
    Member
    Join Date
    Jan 2009
    Posts
    175
    Liked
    26

    Re: How to fix Xampp Security Concept Error!

    this is kinda common sense as it says where to change the settings in the error....anyway nice release....

  10. #9
    Im Back!
    Rank
    Member +
    Join Date
    Sep 2010
    Posts
    308
    Liked
    22

    Re: How to fix Xampp Security Concept Error!

    Thanks and some noobs dont read what it says so i just made the tutorial for noobs.

  11. #10
    I'm Back, New Attitude
    Rank
    Member +
    Join Date
    Jul 2010
    Location
    Brampton
    Posts
    417
    Liked
    43

    Re: How to fix Xampp Security Concept Error!

    Good tut Its perfectlly understandable

  12. #11
    Im Back!
    Rank
    Member +
    Join Date
    Sep 2010
    Posts
    308
    Liked
    22

    Re: How to fix Xampp Security Concept Error!

    Thanks GrandCoder..

  13. #12
    Law
    Garry's Mod is addictive!
    Rank
    Subscriber
    Join Date
    Dec 2009
    Location
    Norway
    Posts
    1,010
    Liked
    230

    Re: How to fix Xampp Security Concept Error!

    Nice, good rel/guide/tut :p
    10/10

  14. #13
    Im Back!
    Rank
    Member +
    Join Date
    Sep 2010
    Posts
    308
    Liked
    22

    Re: How to fix Xampp Security Concept Error!

    Thanks , Hope it helped.

  15. #14
    What you gonna do?
    Rank
    Member +
    Join Date
    Jul 2007
    Location
    Norway
    Posts
    672
    Liked
    34

    Re: How to fix Xampp Security Concept Error!

    If i have to be honest it fails.
    When you do this you open your /server-info and /server-status to the public, and those can be pretty darn useful for hackers. You also enable everyone to see your XAMPP folder which should only be accessable by localhost. I would advise you to delete those folders first.

  16. #15
    Im Back!
    Rank
    Member +
    Join Date
    Sep 2010
    Posts
    308
    Liked
    22

    Re: How to fix Xampp Security Concept Error!

    Well im going to make a tutorial to show people how to patch there retro up.

 

 
Page 1 of 2 12 LastLast

Posting Permissions

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