Questions tagged [configuration]
The configuration tag has no usage guidance.
95
questions
1
vote
0
answers
9
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
18
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
18
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
14
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
64
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
25
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
167
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
961
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
4k
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
65
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
174
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
1k
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
44
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
906
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
181
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
584
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
250
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
1k
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
516
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
2k
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
3k
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
5k
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
63
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
1k
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
120
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
6k
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
359
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 "...
5
votes
3
answers
18k
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
68
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
33
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
247
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
130
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
296
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
59
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
836
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
86
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
380
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
283
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
779
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
2k
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
454
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
57
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
79
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
49
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
179
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
133
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 ...
2
votes
0
answers
2k
views
Nginx aliases and proxy_pass
I'm using nginx as web front-end and apache2 as web back-end. Apache runs several websites locally and nginx access them.
At the moment, different sub-domains are hosted, but I want to migrate them ...
8
votes
3
answers
44k
views
Have disabled apache site config file 000-default.conf, but it still seems active. Why?
I added a file mysite.conf to my apache sites-available folder with the correct settings, then enabled it and reloaded apache, and it isn't working. I want to disable the default site config as ...