Failing to enable includes | Lab 8.4
Hi guys,
I'm following Lab8.4's solution to the letter but I get an error occurred while processing this directive:

My /magic/index.html URI is located at /var/www/html/magic/index.html:

..., the includes folder is at /var/www/html/magic/includes:

...and my conf at /etc/apache2/sites-enabled/magic.conf:

I've tried multiple options for the path on the virtual tag of the HTML files, and moving the includes folder to /var/www/html/, but I always get the same error. I'm open to try any possibility that you guys my suggest though.
Thanks a lot for the help!
Answers
-
The magic index.html file lives in /var/www/html/includes/index.html.
What version of Ubuntu are you using?Regards Lee
0 -
I moved magic index.html to that location you mentioned and now I get a Not Found error.
But the lab says that magic index.html lives in
/var/www/html/magic/index.htmlAnd I'm using Ubuntu 20.04.3 LTS @lee42x
0 -
Please confirm the location of foo.html and bar.html.
Did you use copy and paste creating the files?0 -
/var/www/html/magic/includes/bar.htmland/var/www/html/magic/includes/foo.htmlI've tried multiples ways: copy/paste directly, manually typing "this is the bar/foo include", surrounding each phrase with
<p>tags, but none has worked.0
Categories
- All Categories
- 179 LFX Mentorship
- 179 LFX Mentorship: Linux Kernel
- 776 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 76 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.7K Training Courses & Learning Paths
- 17 AI & ML Training
- 2 Blockchain & Decentralized Identity Training
- 48 Cloud & Containers Training
- 7 Cybersecurity Training
- 4 DevOps & Site-Reliability Training
- 3 Linux Kernel Development Training
- 3 Networking Training
- 2 Open Source Best Practice Training
- 6 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 775 Linux Distributions
- 83 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 32 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 473 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 104 Linux Security
- 79 Network Management
- 102 System Management
- 46 Web Management
- 176 Mobile Computing
- 32 Android
- 129 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 407 Off Topic
- 128 Introductions
- 35 Study Material
- 1.1K Programming and Development
- 312 Kernel Development
- 730 Software Development
- 1K Software
- 421 Applications
- 183 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)
