Questions tagged [configuration]
The configuration tag has no usage guidance.
97
questions
0
votes
0
answers
13
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 ...
0
votes
0
answers
129
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 ...
4
votes
1
answer
82
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 ...
2
votes
0
answers
157
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. ...
1
vote
1
answer
52
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>
...
1
vote
0
answers
58
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 ...
2
votes
1
answer
116
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 /...
1
vote
1
answer
27
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 ...
1
vote
1
answer
501
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 ...
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{
...
2
votes
2
answers
5k
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 ...
0
votes
1
answer
83
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....
1
vote
1
answer
213
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 ...
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 ...
2
votes
0
answers
47
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 ...
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">
...
1
vote
0
answers
197
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 ...
1
vote
0
answers
681
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 ...
2
votes
2
answers
276
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 ...
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 ...
2
votes
0
answers
686
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 ...
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 <...
6
votes
2
answers
2k
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, ...
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 ...
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 ...
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 ...
2
votes
2
answers
2k
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 ...
2
votes
0
answers
123
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 ...
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 ...
1
vote
1
answer
386
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 "...
6
votes
3
answers
23k
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 ...
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
#...
2
votes
0
answers
35
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.
1
vote
0
answers
249
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 ...
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 ...
1
vote
1
answer
398
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/...
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 ...
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 ...
1
vote
1
answer
927
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 ...
1
vote
1
answer
102
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 ...
2
votes
1
answer
381
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 ~ (.*)...
3
votes
1
answer
320
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 ...
3
votes
1
answer
800
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 ...
2
votes
1
answer
3k
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 ...
1
vote
1
answer
500
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 ...
1
vote
0
answers
60
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 ...
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 ...
0
votes
1
answer
57
views
how to kill program that displays webpages in fastcgi/apache
I'm beginning to think PHP contributes to extra milliseconds of waiting time. After all, my website is mostly meant for showing photos and I like to have things work fast and so does google.
I was ...
1
vote
1
answer
193
views
mediawiki user can't create his user page
I got a MediaWiki, and almost all is working fine, but when i try to edit a page with an user, the page `?title=User:{username}"
I got this message
There is currently no text in this page. You can ...
1
vote
0
answers
138
views
apache/php settings to optimize website for long distance clients
Contrary to what many suggest, I decided to increase my keep-alive in apache from 1 to 5 seconds and to a maximum of 100 keep-alive requests per keep-alive connection from any one IP address. I also ...