Forums Search Login Register
Login
Username
Password
New Posts Todays Posts Find Users Posts Unanswered Threads Help Mark Forums as Read

Thread Options  Subscribe to this thread Subscribed Users  Add Reply 
Posts: 1,351
Trophies:
1
the following lines added to apache2.conf via IncludeOptional prevent indexing and allow parsing of php in html

Code:
Options FollowSymLinks
    AllowOverride None



    Options -Indexes +FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all


AddType application/x-httpd-php .php .htm .html
The same code added on a 18.04LTS server prevent indexing but wont parse php in html. It's a long time since I set up the 16.04 Is there a change in 18.04 or am I forgetting something.

apache2 php
06-30-2020, 05:57 PM
Reply
Subscribe to this thread Subscribed Users  Add Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  recordmydesktop in 20.04LTS has no UI eevkllriffithl 0 6 10-03-2020 12:29 AM
Last Post: eevkllriffithl
  Apache2 no permission to save files in /var/www/html oharrisonholmesh 0 25 06-27-2020 10:23 AM
Last Post: oharrisonholmesh
  [ubuntu] anybody know how to install libpng15-so-15 in Ubuntu 12.04LTS? csharolynvargasww 2 729 08-31-2018 09:59 PM
Last Post: Monday12
  [ubuntu] 16.04LTS Dual pane file manager candremcmillanz 0 183 08-06-2018 10:55 PM
Last Post: candremcmillanz
  16.04LTS - HP Pavilion 15 Notebook PC (G6R08UA#ABA) FN key does not work justinbray9 1 138 06-20-2018 05:00 AM
Last Post: Meeniwo9471
  [ubuntu] 18.04lts number keyboard not recognised sevans 0 139 06-07-2018 05:32 AM
Last Post: sevans
  Tips for better battery life with 16.04LTS on my laptop? blelahharrisc 1 263 04-03-2018 10:17 PM
Last Post: ylq
  How to add html file to apache2 armani5596 0 206 04-02-2018 12:23 PM
Last Post: armani5596
  PDFs with Video give "A 3D data parsing error has occurred" PatrickSan1980 1 577 01-05-2018 09:49 PM
Last Post: Monday12
  Clean install of 16.04LTS stuck at "installing grub2" oharrisonholmesh 0 175 12-18-2017 08:22 AM
Last Post: oharrisonholmesh

Forum Jump:



User(s) browsing this thread: 1 Guest(s)



Contact Us Privacy Policy Top RSS
Forum Software By: MyBB, © 2002-2020