gazlaws-dev / exam-portal

Exam Portal | Web-Programming (CS4042)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

exam-portal

.
├── README.md
├── static 
│   ├── css // this folder contains all css files
│   ├── js // this folder contains all js files
│   └── php // this folder contains all php files
└── templates 
    ├── examinationPage.html
    ├── homePage.html
    ├── instructionPage.html
    ├── logoutPage.html
    ├── registrationPage.html
    └── resultPage.html

Configuring Apache Server

1. /etc/init.d/apache2 [start/stop/restart](1)
2. To change the default document root i.e. /var/www/html/
   2.1) Edit - /etc/apache2/sites-available/000-default.conf
   2.2) If permission denied issue arises
        2.2.1) Go to - /etc/apache2/apache2.conf and add
        <Directory yourDirectory>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
        </Directory>
        near the place where such things are existing.
   2.3) To change the priority of files looked for
        edit this - /etc/apache2/mods-enabled/dir.conf - FCFS
3. To allow PHP in .html files
   3.1) Edit `/etc/apache2/apache2.conf`
   3.2) Add the following line: `AddHandler application/x-httpd-php .html`

MySQL

    1. To create dump file - mysqldump -u username -p dbName > db_dump.sql
    2. To import dump file
        2.1) Create a db by that name
        2.2) mysql -u username -p -D dbName < db_dump.sql

About

Exam Portal | Web-Programming (CS4042)


Languages

Language:HTML 85.1%Language:PHP 13.2%Language:CSS 1.7%