Trying to run httpd/apache2 on localhost

https://www.flickr.com/photos/bruce-korb/51748295302/
paragraph 24.2.3 of https://doc.opensuse.org/documentation/leap/reference/html/book-reference/cha-apache2.html

says: select Network ServicesHTTP Server.

That’s very nice, if there were an “HTTP Server” option available. There is not. (I have an image of what is presented, but I don’t remember and cannot find references to how to upload and link to images.)

I’d like to be able to view an HTML file on my computer. How do I do that? Every now and then I work out the problem and configure apache correctly. Then an update comes along and wipes out the config, so I have to re-learn the whole process.

I am running KDE. When I use Dolphin to browse to an HTML file and click on it, it will start Firefox (the default HTML user agent on my KDE) and show the rendered page.

And when you want to make the detour via Apache, I have in my document root <directory …> sections (amongst other things of course)

Require host localhost

I install apache on all machines and update them frequently. Nothing to work out or re-learn. Install pattern lamp_server and select Network Services › HTTP Server.

Sample local configuration:

**erlangen:~ #** cat /etc/apache2/conf.d/Albums.conf 

# location of local albums 
Alias "/Albums" "/home/Albums/jAlbums/" 

# grant access  
<Directory "/home/Albums/jAlbums/"> 
    Require all granted 
    Options Indexes FollowSymLinks 
</Directory> 
**erlangen:~ #**

Install yast2-http-server.

Sorry, I did not come to my mind that Apache was not even installed.
But my answer still holds: one does not need Apache to let FF show an HTML file.

Sure. Apache does much more: JAlbum im Heimnetz - jAlbum Wiki