No in /etc/httpd/conf/httpd.conf
.
I thought that SSL is not needed for local use and /etc/httpd/confextra/httpd-ssl.conf
is not included anymore:
# Secure (SSL/TLS) connections
#Include…
I added it and as before I see Error 404
.
Nothing new in the log.
I am using this in the main config:
<Directory "/srv/http/4get">
Options +MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}…
Not sure to how do that.
Is it similar to this?
<VirtualHost *:80>
# no domain = go to 4get.ca
RedirectMatch 301 ^(.*)$ https://4get.ca$1
</VirtualHost>
I moved the files from /srv/http/4get
to /srv/http/
.
And I updated the conf:
ServerRoot "/etc/httpd"
...
<Directory "/srv/http/">
...
The home page is displayed better but…
I did not look the Arch wiki after adding AddHandler php-script .php
in the conf it starts.
I installed php83-curl
and…
Does it need mpm_event therefore?
Since disabling mpm_event and enabling mpm_prefork does not have errors.
I'll search to how do it for Artix/Arch otherwise.
I installed this that I believe being the corresponding version:
pacman -Ql php-apache
php-apache /etc/
php-apache /etc/httpd/
php-apache /etc/httpd/conf/
php-apache /etc/httpd/conf/extr…
It is just a directory listing.
When I access http://127.0.1.1/4get/index.php
I see an empty page with this line at the beginning:
load( "home.html", [ "server_short_description" =>…
Right now I do not have php-mbstring
and php-curl
.
Is it supposed to show up at least?
https://httpd.apache.org/docs/current/howto/htaccess.html#when
I make this in the conf and I also made the equivalent .htaccess
file in /srv/http/c
.
<Directory "/srv/http/c">
…
Could you make an example of all the things that I need?
Not sure where put those rules in /etc/httpd/conf/httpd.conf
?
Or
ls /etc/httpd/conf/extra/
httpd-autoindex.conf httpd-info.con…
Do I need to use /etc/httpd/conf/extra/httpd-vhosts.conf
?
How do I make 4get instance visible on localhost?
I'd like to set up my 4get instance that I can use locally so I supposed I need to go to https://http://localhost/c.ca
.
I am not sure to how set up the local instance.
I made 2 rulesets…