Wednesday, 4 April 2018

Remove /Public folder (Laravel)

Step 1. Create .htaccess file in root directory

Step 2. Edit .htaccess file to following code

<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On

    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^ ^$1 [N]

    RewriteCond %{REQUEST_URI} (\.\w+$) [NC]
    RewriteRule ^(.*)$ public/$1

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ server.php

</IfModule>

Tuesday, 3 April 2018

LAN SWITCHING

This knowledge will be covered on CISCO CCIE topics.

Topic that will covered :

1. Ethernet Basics
2. Virtual LANs and VLAN Trunking
3. Spanning Tree Protocol

FAST ETHERNET
Fast Ethernet standard is a networking that supports data transfer rates up to 100 Mbps. 100Base-T is based on the older Ethernet standard . Because it is 10 times faster than Ethernet, it is often referred to as Fast Ethernet. Officially, the 100Base-T standard is IEEE 802.3u.

Like Ethernet, 100BASE-T is based on the CSMA/CDLAN access method. There are several different cabling schemes that can be used with 100BASE-T, including :

100BASE-TX : two pairs of high-quality twisted-pair wires
100BASE-T4 : four pairs of normal-quality twisted-pair wires
100BASE-FX : fiber optic cables

Normal vlan gateway last resort is 10.10.0.1 to network 0.0.0.0