Questions tagged [configuration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
22 views

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally

Today I installed Apache2 on my Linux Mint 21.3 and was greeted with the following message when running sudo apachectl configtest, i.e. configuration test: AH00558: apache2: Could not reliably ...
Vlastimil Burián's user avatar
1 vote
0 answers
21 views

Two VirtualHosts after Certbot which created second one, can I concatenate them somehow?

I am on Ubuntu22.04-based OS. I struggle with many issues, and this is the first to be addressed concerns Apache version : # pwd /etc/apache2/sites-enabled # ll total 0 lrwxrwxrwx 1 root root 38 2024-...
Vlastimil Burián's user avatar
0 votes
2 answers
41 views

Which one? <VirtualHost> in etc/httpd/conf/vhost/host.conf or etc/httpd/conf.d/ssl.conf

CentOS7 Apache 2.4.6 regarding /etc/httpd/conf/vhosts/host.conf & /etc/httpd/conf.d/ssl.conf I have both these files and both define VirtualHost This seems like a recipe for disaster? Should ...
ScottD's user avatar
  • 51
0 votes
0 answers
21 views

VirtualMin: Change Postfix settings.. but for only one website?

We are hosting about multiple websites on a current Virtualmin server and are using PostFix -> SendGrid to forward emails. We are going to add a large new website on the server. The problem is that ...
Etienne Dupuis's user avatar
0 votes
0 answers
206 views

How can I disable users from accessing Apache server with an IP address in the URL instead of my domains?

I have a self-hosted and self-managed web server using Apache 2.4 on Debian. I use many domains on this server and have configured them using vhosts. I want my users to use the domains I configured to ...
vl-20100's user avatar
4 votes
1 answer
144 views

Deny non-local Apache requests that match a specific URL pattern

I need to configure my Apache (2.4) in a way, that It prevents answering requests that don't come from the same IP as the server match a specific pattern in the URL In pseudocode it must look ...
Lokomotywa's user avatar
2 votes
0 answers
236 views

Only some computers can access local apache server some of the time (windows 11) [closed]

I've set up an apache server with a Django app and followed all the configuration steps to make it accessible on my LAN. In my office there are about 15 computers. We're all on that same WiFi network. ...
fakenewsbears's user avatar
1 vote
1 answer
91 views

Does a vhost specific .conf settings over-ride the ssl.conf settings?

In my mods-available/ssl.conf ( It is also symlinked in mods-enabled ) I have these lines: SSLCipherSuite HIGH:!aNULL SSLProtocol all -SSLv3 For my vhost I have: <VirtualHost *:443> ...
Dave's user avatar
  • 35
1 vote
0 answers
80 views

When setting up Apache2 on ubuntu 20.04 for HTTPS do I need to use the <IfModule>?

I am setting up HTTPS on a new Apache2 install. I plan to use the free certs from CloudFlare and install their Origin Cert and Private Key. Would really appreciate your input. I have just run a2enmod ...
Dave's user avatar
  • 35
2 votes
1 answer
133 views

nginx configure error pages

Mostly that I need to be more familiar with the configuration of nginx and I have tried to search for an answer but have been unable to find one,I need to have all 401 403 and 404 errors directed to /...
Willtech's user avatar
  • 265
1 vote
1 answer
39 views

Are Plesk or cPanel helpful for bringing up new VPS servers?

I'm a programmer, and I like to create some website by my own (php, or asp.net). Until today, have manually configured the VPS servers that I've bought. (So for instance for an Ubuntu VPS, I install ...
stighy's user avatar
  • 153
1 vote
1 answer
671 views

Apache serves .svg file without Content-type header

Apache is serving an .svg file, but the HTTP response does not have a Content-type header. Consequently, Chrome is displaying the text of the .svg file, rather than the desired image. My goal is for ...
mpb's user avatar
  • 111
2 votes
0 answers
1k views

Redirecting in NGINX with masking target URL

I've set up redirection on NGINX with the help of this answer and now I want to set up it with hiding redirection from user, i.e. keeping original example.com. Things I've tried: rewrite server{ ...
Suncatcher's user avatar
2 votes
2 answers
6k views

Reverse-proxy to hide iframe origin. How does that work?

Somebody told me to use a reverse proxy to make iframe content relevant for the website embedding it. But I can't get my head around how would that work? As I understand it, I would need a reverse ...
smoe's user avatar
  • 21
0 votes
1 answer
102 views

Trying to understand the difference between two Apache SSL config statements

I'm using Apache 2.2.34, OpenSSL 1.0.2l. Yep, I know its sun-setted and not supported, but plans to upgrade it are not immediate. I'm trying to understand the difference between these two statements....
Michael Sobczak's user avatar
1 vote
1 answer
286 views

How to configure reverse DNS?

I got a static IP from my ISP and a domain from GoDaddy. I configured DNS in GoDaddy to point to my static IP. So the website works. However, when I tried to lookup reputation of the IP address, I ...
Serge Rogatch's user avatar
0 votes
1 answer
2k views

Running Node.js from the Front End Web Interface on Plesk Onyx panel

How should we need to run Node.js app especially, from the Web Interface causes Error:403 & 500 Server Error Document Root Application will not work because document root is not a subchild of ...
Nɪsʜᴀɴᴛʜ ॐ's user avatar
2 votes
0 answers
48 views

.mht files display as junk text from Jetty server

I have some .mht files which load fine from local files but when loaded from the Jetty web server display as junk text. What can I do to make them work correctly from my Jetty web server? I know ...
krish's user avatar
  • 29
1 vote
0 answers
1k views

Apache FilesMatch to deny access to all ".config" files is working except for web.config

In my apache server I don't want to serve any files with extensions .config because it could contain potentially sensitive information. In my apache2.conf file I added: <FilesMatch "\.config"> ...
Ulf Honkanen's user avatar
1 vote
0 answers
199 views

nginx rewrite rule not applied (using contao cms)

I am trying to make a redirect for https://mypage.com/foo to https://mypage.com/bar while still keeping https://mypage.com/foo in the browser url. I have tried several combinations of different ...
olastor's user avatar
  • 11
1 vote
0 answers
719 views

Rsync from Cpanel to Synology

I'm trying to add a Rsync destination for backup in whm, but I keep getting this error when validating Error:Validation for transport “NAS2” failed: Can't ssh to [the Ip Address]: unable to ...
Mariam Ghalleb's user avatar
2 votes
2 answers
293 views

Is "Legacy Backup" in WHM necessary when you're running out of space?

Lately I noticed that that my server's disk is running out of space, and that the cpbackup folder in /backup was around 277 GB. I have the Backup Configuration enabled, and then I checked the Legacy ...
Mariam Ghalleb's user avatar
3 votes
1 answer
2k views

HTTP to HTTPS redirect for a specific domain through web.config

I'm trying to do a HTTP to HTTPS redirect on a GoDaddy web hosting platform. I have the Windows hosting platform and I'm editing the web.config file. There are multiple domains under this hosting ...
Andrew's user avatar
  • 33
2 votes
0 answers
796 views

Specify the order and priority of LocationMatch directives from different Apache conf files

I have custom modules loaded in Apache HTTP Server that handles different URL's i.e each module handles a specific URL depending upon the LocationMatch directive defined in each of these modules. The ...
astre's user avatar
  • 121
9 votes
2 answers
3k views

Explicit differences between <Directory> and <DirectoryMatch> (and other <*Match> directives)

Preface I'm very much a neophyte regarding webservers. I'm setting up an Apache2 server and currently poring over the documentation. I noticed that the <Directory>, <Location>, and <...
ZeroKnight's user avatar
6 votes
2 answers
3k views

Is it possible to block cookies that are set by externally hosted content?

Is it possible to block cookies that are set by externally hosted content embedded in a page? For example if I embed an image from a CDN, the response for this image may contain a Set-Cookie header, ...
jamieweb's user avatar
  • 185
2 votes
2 answers
4k views

How can the index.html file be served from a sub directory of the DocumentRoot without using system level links?

How can the index.html file be served from a sub directory of the DocumentRoot without using system level links? For example: Let the document root of an apache 2.4 virtual host be dirA Let the the ...
Jacob Fines's user avatar
0 votes
2 answers
6k views

Why doesn't Apache allow access to files outside the web root --from within index.html?

As the title states.. I have the following organization to my project but am unable to access the related CSS and JavaScript files from within my HTML code --unless I create symbolic links from the ...
Jacob Fines's user avatar
1 vote
0 answers
65 views

Use remote Tomcat/Solr for BlueSpice ExtendedSearch

Is it possible to configure the BlueSpice ExtendedSearch extension to connect to a remote Apache Tomcat/Solr instance instead of installing all of that on the same machine that runs BlueSpice? I ...
Dominic P's user avatar
  • 546
2 votes
2 answers
3k views

Basic DNS and URL Redirect for just a web server

I am unable to find the proper setup of DNS records with URL Redirect service for a basic web server where: Any URL with www.Example.com should go to server with IPv4 address 192.0.2.4 Any URL for ...
Basil Bourque's user avatar
2 votes
0 answers
125 views

Environment specific client-side config file

I'm developing a WebRTC app where the endpoints along with some other options are different for production and development. I was handed this project so one of codebases uses Nodejs and the other uses ...
Markus's user avatar
  • 21
2 votes
1 answer
7k views

Configure Apache to redirect all requests to index.html?

A CentOS 7 server is hosting a web application in /var/www/someapp/public_html. Requests for mydomain.com get served the file located at /var/www/someapp/public_html/index.html. The user can then ...
CodeMed's user avatar
  • 121
1 vote
1 answer
429 views

Nginx deny-all fails to execute PHP code in 403.html

I want to deny access to some directories and files, so I use the deny_all option to return a 403.html page. However, it does not allow me to execute any PHP code in that page. Something to do with "...
Alph's user avatar
  • 13
6 votes
3 answers
25k views

In what path I can find the .crt file for Let's Encrypt SSL?

I'm trying to find the SSL .crt file that was installed on my Ubuntu server using Let's Encrypt. I used this commands below for installing Let's Encrypt free SSL: $sudo apt-get update $sudo apt-get ...
Bangladesh 71's user avatar
0 votes
1 answer
70 views

Add content to start of all requests

In a .htaccess file or another server configuration file, is there a way to add content to the start of all requests, for example: index.html World! .htaccess or another server configuration file #...
Anonymowse's user avatar
2 votes
0 answers
37 views

Option for allowing new users to post to a Phpbb version 3 forum

I am trying to allow new users to post to the forum. It is not showing me the option of turning this off or on in the settings.
Feilim Mccoy's user avatar
1 vote
0 answers
254 views

How to store configuration settings in a asp.net mvc application? [closed]

Don't know if this is the right place to ask this question but here it goes. We are looking to developing an online ASP.NET MVC application. One module of this app is storing the application settings ...
Mivaweb's user avatar
  • 269
1 vote
1 answer
133 views

Access resources of secondary server running different port apache2

I'm currently running a main server from a raspberry pi (32 GB) and a secondary server (4 TB) running as the file storage server. Both servers are running Debian Linux with Apache2 installed. I've ...
Typewar's user avatar
  • 121
1 vote
1 answer
456 views

Using nginx to host roundcube on root domain, while hosting phpmyadmin from sub directory

I have my domain setup to host roundcube at the root domain just fine, using root /www/roundcube in the vhost config, but when I attempt to add another location for phpmyadmin using root /www/...
Greg's user avatar
  • 111
1 vote
0 answers
60 views

/ci3/contact not found after ci3-fire-start installation

I installed apache2 on my ubuntu 16 and the localhost folder is located in /var/www/html/ Downloaded ci3-fire-starter and extracted the folder to /var/www/html/ci3-fire-starter-folder I also ...
al_kyu92's user avatar
1 vote
0 answers
2k views

Apache 2.4 on Windows Server 2012 R2 - Error 1053

I have installed Apache 2.4 on a Windows Server 2012 R2. It starts fine from the command line, and I can view test pages and what not. I then used the command httpd.exe -k install to set it up as a ...
Btz's user avatar
  • 353
1 vote
1 answer
974 views

How to configure URI in Nginx to serve different web app than in the main domain?

I have CMS running on domain.tld. Now I would like to configure Nginx to server another app from domain.tld/app. CMS in main domain shouldn't handle requests made to domain.tld/app. Can this be ...
user1271930's user avatar
1 vote
1 answer
150 views

Redirect 301 to a folder on the server?

I wish to 301 redirect my conf file located at /etc/apache2/sites-available to a different folder on the server itself. But when I added: Redirect 301 / /var/www/web/public_html to the conf file and ...
KingsInnerSoul's user avatar
2 votes
1 answer
382 views

What does mask spring authentication nginx configuration do?

I have the following setting in my nginx.conf but I am not sure what it does. I copied it from a Google search. location / { set $tempRequest $request; if ($tempRequest ~ (.*)...
Anthony's user avatar
  • 123
3 votes
1 answer
326 views

Are there any reasons to not to set speed sample rate to 100 in Google Analytics?

While searching for performance problems, I found out that we have several entries where our page load time is zero or extremly high (>150s). After a short research I found out that this happens ...
Jurik's user avatar
  • 878
3 votes
1 answer
817 views

Is 21 seconds too little for a connection timeout instead of the Apache default of 300 seconds?

I currently have apache timeout incomplete requests after 21 seconds because I don't want bad bots holding up the available connection slots, and I feel people would rather wait 21 seconds for a slot ...
Mike -- No longer here's user avatar
2 votes
1 answer
4k views

Apache .conf files not working. Apache restarts even without ANY conf files

For some reason, my apache instances have stopped updating their conf files. I am able to reboot apache without any errors logged and apache will not recognize any changes. I have gone so far as to ...
Astupidmoose's user avatar
1 vote
1 answer
522 views

Default server name nginx

A server is hosting several website each having its own domain name. Nginx is used the reverse proxy. When a domain name is pointing to the IP of the server and that no server_name is specified nginx ...
Auzias's user avatar
  • 93
1 vote
0 answers
64 views

Problem in Greenstone Digital Library Software search output

I hope this is right community to post this question. So In full text search the Greenstone Digital Library Software correctly retrieve the newspapers containing the searched term both in HTML and ...
MnZ's user avatar
  • 111
2 votes
1 answer
81 views

Why would a url of example.com/n (where n is the same number repeated 500x) return a 403 error?

I'm trying to add new functionality to my site which involves passing a whole bunch of parameters (could be hundreds of parameters) all encoded in base64 format. When I attempt the new URL I get an ...
Mike -- No longer here's user avatar