r/apache • u/ApacheKnife322 • Nov 16 '21
Apache Knife®️🇺🇸
Enable HLS to view with audio, or disable this notification
r/apache • u/ApacheKnife322 • Nov 16 '21
Enable HLS to view with audio, or disable this notification
r/apache • u/Incan1991 • Feb 04 '21
r/apache • u/xshopx • Apr 03 '24
r/apache • u/simikoi • Sep 19 '24
Every 5-10 minutes Open Office shuts down. I open it again and it restores all the docs I had open but everything since the last time I saved is lost. I tried removing the program and reinstalling it, but it still keeps happening. My wife's does the same thing. Any thoughts? I literally have to click save every 30 seconds because I know it's going to shut down at any moment.
r/apache • u/BlankVerse • Jun 16 '23
r/apache • u/BirthdayMaster9661 • Aug 07 '21
r/apache • u/chrisbcritter • Jul 31 '24
I keep seeing lots of new databases getting rolled out for specific applications and it seems like most of them start from Apache. Why is a web server so important for database applications?
r/apache • u/[deleted] • Jun 03 '25
I run a server with apache 2.4.37. On every HTTP request, the HTTP header output always includes a "server: apache" line.
Hackers could use that info to try to hack a system.
Is there any way I can remove the server line entirely, or have it where it doesn't even have apache listed? I am willing to write my own apache module to remove it if that's what it takes.
As a bonus, if i manage to remove it, it would be 15 less bytes people need to download per item request. and google loves FAST pages.
r/apache • u/ConferenceKey831 • Jun 20 '23
r/apache • u/[deleted] • Mar 10 '24
r/apache • u/TT9290 • Sep 16 '23
I try to run Apache Web Server on 2.4, but it simply won't run at all. Any help?
r/apache • u/Creeperman2306 • Jan 10 '22
silver@computer-server:~$ sudo systemctl status apache2
[sudo] password for silver:
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2022-01-10 02:13:42 EST; 30min ago
Docs: https://httpd.apache.org/docs/2.4/
Jan 10 02:13:42 computer-server apachectl[9940]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, u>
Jan 10 02:13:42 computer-server apachectl[9940]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Jan 10 02:13:42 computer-server apachectl[9940]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Jan 10 02:13:42 computer-server apachectl[9940]: no listening sockets available, shutting down
Jan 10 02:13:42 computer-server apachectl[9940]: AH00015: Unable to open logs
Jan 10 02:13:42 computer-server apachectl[9930]: Action 'start' failed.
Jan 10 02:13:42 computer-server apachectl[9930]: The Apache error log may have more information.
Jan 10 02:13:42 computer-server systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jan 10 02:13:42 computer-server systemd[1]: apache2.service: Failed with result 'exit-code'.
Jan 10 02:13:42 computer-server systemd[1]: Failed to start The Apache HTTP Server.
lines 1-15/15 (END)
r/apache • u/GreenAce92 • Feb 28 '16
I am working on a file-upload and I created the upload directory /uploads. When I run ls -la /uploads, the total says 12.
There's a folder inside /uploads called /music so when I try ls -la /uploads, there are 8 files... what is in these empty directories?
Also if you happen to know, I was told to avoid using /tmp so that's why I specified /uploads, although I'm not sure if it's bad to use the same directory for upload_tmp_dir and the actual folder that holds the files... it had something to do with executable shells and so I was told not to upload to /tmp.
I'd appreciate any additional tips you might have pertaining to this.
r/apache • u/nodemonsters • Oct 09 '21
How do we check to what address the application is set? I have an application and the application needs Docker Traefik to have it accessible at local.website.com, but I am wondering how I can check to what address the application is mapped to if I don't turn Docker Traefik on. I have checked the Docker Traefik docker-compose settings and I don't see any mapping, so I am trying to figure out to what address the application is mapped to. What are some commands I can use to check this? It's an apache application using an ubuntu box using php, node and apache, although the node is just for compiling css. I am running Docker, but I am thinking the url is set somewhere in some Apache config files. Tell me if I am wrong. I am wondering if I need to ssh inside my docker container.
r/apache • u/VantlaShansta • Jul 07 '24
Learn how to restrict access to your website using Apache and NGINX. Protect your website from cyber attacks and maintain SEO value. Follow step-by-step instructions for restricting IP access, cookie access, and password protection.
r/apache • u/OneTwist • Jan 23 '18
r/apache • u/Panfinz • Dec 15 '21
So, I want to host a website with one page only accessible to people on the LAN. My website tree looks like this:
- /
| index.html
| style.css
|- home
| index.html
| style.css
|- files
| <directory listing>
(I'm referring to the website address as localhost)
and I want the localhost/home page available to the WAN, while the localhost/ directory displays a 403 Forbidden error or redirects to /home. The latter being the more preferred option.
My server's running Ubuntu. I don't know PHP very much, but a PHP solution would be ok.
r/apache • u/[deleted] • Jan 12 '24
r/apache • u/PenguinLeader23 • Nov 20 '23
intro:
This project is set on a windows with wsl. I'm using Laradock (v7) and docker desktop with apache2 container at port 443 and 8080. I'm trying to make the files inside the /var/www/ridesharer directory to be served when http://ridesharer.loc is accessed on the browser
files directories for context:
C:\Users\****\laradock
C:\Users\****\laradock-projects\ridesharer
this is the default.apache.conf
<VirtualHost *:8080>
ServerName ridesharer.loc
DocumentRoot /var/www/ridesharer
Options Indexes FollowSymLinks
<Directory "/var/www/ridesharer">
AllowOverride All
<IfVersion < 2.4>
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</Directory>this is the apache related lines in the laradock .env file
# Point to the path of your applications code on your host
APP_CODE_PATH_HOST=../laradock-projects/ridesharer
# Point to where the `APP_CODE_PATH_HOST` should be in the container. You may add flags to the path `:cached`, `:delegated`. When using Docker Sync add `:nocopy`
APP_CODE_PATH_CONTAINER=/var/www:cached
# Choose storage path on your machine. For all storage systems
DATA_PATH_HOST=~/.laradock/data
### docker container customization ###
APACHE_HOST_HTTP_PORT=8080
# APACHE_HOST_HTTPS_PORT=443_defaultport80
APACHE_HOST_HTTPS_PORT=443
APACHE_HOST_LOG_PATH=./logs/apache2
APACHE_SITES_PATH=./apache2/sites
APACHE_PHP_UPSTREAM_CONTAINER=php-fpm
# APACHE_PHP_UPSTREAM_PORT=9000
APACHE_PHP_UPSTREAM_PORT=9001
APACHE_PHP_UPSTREAM_TIMEOUT=60
APACHE_DOCUMENT_ROOT=/var/www/solutions I've tried:
flushing DNS, turning firewall off, switching between 80 and 8080 ports
r/apache • u/aikhona • Mar 04 '20
Is this a current or an old issue?
Quoted from Steamworks SDK in reference to a Local Content Server where they recommend mongoose in it's place.
I've been using Apache since the dark ages and this is new to me.
r/apache • u/LeastLimit • Jun 28 '22
I need help to even phrase this question in a way which is useful to anyone attempting to answer it so your patience is appreciated.
I don't understand SSL too well. I've made some progress to integrate it into my apache server but I'm seeing behavior that makes me lack confidence in what I've done. I'm using SSL to assure communication between clients visiting my web site from their browser, I'm also trying to use it "internally" to ensure that communication between command line scripts on my server and apache-hosted scripts on the same server are secure.
So on the public side of the server, I have SSL certs for my public domain with SSL running on port 443 and an authentication chain back to a public CA so that SSL works when visiting my domain.
I have redirects set up in apache to enforce HTTPS so that from a browser, http://mydomain.com/ is forwarded to https://mydomain.com and, as desired, this happens with or without a www. prefix and with or without a port number suffix. (Hooray)
However, things get scary to me when I try to secure "internal" communication between the host server's CLI and the apache web server it hosts. I need the CLI to be assured by SSL that the answer it receives when it does a curl to localhost is actually from its own apache server, and not a man in the middle.
so I've used openssl to generate localhost SSL keys (localhostkey.pem) which I've registered on the server as a CA (I think!). I expect the CLI curl to now be able to securely handshake with the apache server.
When I open a CLI and use curl to ask apache to serve content from localhost, I get the following behavior and I don't know what it means. I don't know if i've achieved a successfully secured SSL authenticated conversation or not. There's no browser involved so no helpful padlock to look out for.
Behavior in CLI:
curl http://localhost/ , apache returns a plain text 301 redirect to https (OK)
curl http://localhost:80/ , apache returns the same plain text 301 redirect to https (OK)
curl https://localhost/ returns error
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number (I assume because I haven't announced my certificate as a curl command argument) so the https handshake cant happen...however...
curl --cacert /etc/ssl/certs/localhostkey.pem https://localhost/ returns the same error
curl --cacert /etc/ssl/certs/localhostkey.pem https://localhost:433/ returns error
curl: (7) Failed to connect to localhost port 433: Connection refused
and the bit which finally exploded my brain...
curl --cacert /etc/ssl/certs/localhostkey.pem http://localhost:443/ and also the same command without the --cacert argument, that is, curl http://localhost:443/ both just return the plain text response default web page.
so is the conversation between CLI and apache on localhost secure? i don't know! how can I improve this question and how can I troubleshoot?
r/apache • u/manishksolves • Feb 17 '22
r/apache • u/manishksolves • Feb 16 '22
r/apache • u/BlankVerse • Nov 04 '22