Skip to content

mdrahbar21/LAMP_Stack_A3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Virtual Hosting and Security

Tasks

- Create 2 sample HTML websites (choose any template that you want)
- Create 4 users: user1/2/3/4

Website 1 configuration and accesses

  • Website 1's home page should be named as website1.html
  • Website 1 should be available from 2 IPs
    • From 1st IP, it should be directly accessible
    • But when you hit the 2nd IP, it should be redirected to Website 2 (Do this task after we have covered Redirect module)
    • Website 1 should be accessible from client c10 and should not be accessible from c20
    • Website 1 should listen on port 15
    • Website 1 should be accessible to user1 and user3
    • When you open them through user2 and user4 they should show you a custom made error Forbidden page which should contain the following message:
      "You should be an Authenticated user. Contact web gawd!"
      with title as "Web Gawd can stop you anywhere"

Website 2's configuration and accesses

  • Website 2's home page should be named as index.html
  • Website 2 should be available from 2 IPs
    • From 1st IP, it should be directly accessible
    • But when you hit the 2nd IP, it should be redirected to Website 1 (Do this task after we have covered Redirect module)
    • Website 2 should be accessible from client c20 and should not be accessible from c10
    • Website 2 should listen on port 80
    • Website 2 should be accessible to user1 and user2
    • When you open them through user3 and user4 they should show you a custom made error Forbidden page which should contain the following message:
      "You should be an Authenticated user. Contact web gawd!"
      with title as "Web Gawd can stop you anywhere"

About

assignment 3 for lampStack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published