
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    
    RewriteRule ^(.*)\.(gif|jpg|png|jpeg|css|js|swf)$ /public/$1.$2 [L,NC]
    
    RewriteRule ^dashboard$ dashboard.php
    RewriteRule ^allcourses$ allcourses.php
    RewriteRule ^syllabus$ syllabus.php
    RewriteRule ^allassignment$ allassignment.php
    RewriteRule ^addassignmentquestion$ addassignmentquestion.php
    RewriteRule ^viewteacher$ viewteacher.php
    RewriteRule ^addteacher$ addteacher.php
    RewriteRule ^teacherattendance$ teacherattendance.php
    RewriteRule ^viewprospect$ viewprospect.php
    RewriteRule ^addprospect$ addprospect.php
    RewriteRule ^viewstudent$ viewstudent.php
    RewriteRule ^addstudent$ addstudent.php
    RewriteRule ^studentattendance$ studentattendance.php
    RewriteRule ^upcomingevents$ upcomingevents.php
    RewriteRule ^progressreport$ progressreport.php
    RewriteRule ^personalprofile$ personalprofile.php
    RewriteRule ^siteconfiguration$ siteconfiguration.php
    RewriteRule ^loginsignup$ loginsignup.php
    RewriteRule ^permissions$ permissions.php
    RewriteRule ^teachertimetable$ teachertimetable.php
    RewriteRule ^studenttimetable$ studenttimetable.php
    RewriteRule ^studentperformance$ studentperformance.php
    RewriteRule ^teacherperformance$ teacherperformance.php
    RewriteRule ^employeepayments$ employeepayments.php
    RewriteRule ^scheduleclass$ scheduleclass.php
    
    # RewriteRule ^(.*)$ /index.php/$1 [L,QSA]
    
    # RewriteRule ^([a-zA-Z0-9]+)/startclass?$1 startclass.php?username=$1
    # # RewriteRule ^startclass/([0-9]+) startclass.php?username=$1
    # AddType text/css .css
    # RewriteRule ^/videoChat?$ dashboard.php
</IfModule>