Questions tagged [configuration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8
votes
2answers
1k 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 <...
7
votes
2answers
30k 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 ...
6
votes
1answer
23k views

Nginx negating condition/ if else

I've came into situation where I cannot find a way around it, neither with tons googling. valid_referers none blocked something.com; if ($invalid_referer) { rewrite ^ /leech.jpg; expires ...
4
votes
2answers
845 views

How to configure MediaWiki to allow uploading text/plain ".conf' files

I'm having a heck of a time getting our internal MediaWiki to allow CONF file uploads. A CONF file is just a plain text file with a *.conf extension. In ...\LocalSettings.php, I added txt and conf to ...
4
votes
2answers
248 views

Increase Servers folder depth limit for running scripts?

I have a CMS on my site that utilises TinyMCE (the WYSIWYG text editor). The issue is that TinyMCE cannot browse for files (example: images) on the web server. I get the error: Error 324 (net::...
4
votes
1answer
114 views

Prevent interactions between Apache virtual hosts on the same server

I have a VPS running Apache 2.0, with multiple domains and multiple IPs set. In document root /var/www/html/ I have http://serverA.com and I created a virtual host on folder /var/www/html/serverB ...
3
votes
2answers
3k views

How to proxy with apache site from same domain but another port as a subfolder?

So I have a problem - I have my main site on apache web server on debian on port 80; I develop a web server (in some C++ or C#) and it currently runs on port 6666. But some people are living under ...
3
votes
1answer
987 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 ...
3
votes
2answers
513 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, ...
3
votes
2answers
461 views

Create MediaWiki template to format source code

I want to create a MediaWiki template like <syntaxhighlight lang="Java" style="background-color:lightgray; border:1px dashed gray;"> {{{code}}} </syntaxhighlight> and use it in normal ...
3
votes
1answer
201 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
1answer
526 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 ...
3
votes
1answer
209 views

Activate the catalog sidebar in Prestashop for every category

How I can activate the Prestashop catalog sidebar for all categories? The catalog sidebar lets users can refine their search by pricing, fabric, or other options. It only works for me with the demo ...
3
votes
1answer
2k views

Enabling SSL on Apache2 causes address already in use error

My server works just fine on a normal Apache2 install. Now, I'm trying to install subversion on this server using a guide I found on the net called: Installation of Subversion on Ubuntu, with Apache, ...
2
votes
2answers
1k views

What's the purpose of index.html

If I maintain www.example.com, does accessing it mean I would open index.html in its root directory?
2
votes
3answers
5k 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 ...
2
votes
2answers
741 views

Laravel Detailed Error Page Lost

I want to see all problems when a file can't loaded e.g. I used to do it but now I can't. The only thing I get when a problem occurs is Whoops, looks like something went wrong. How can I change ...
2
votes
2answers
122 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 ...
2
votes
2answers
603 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
2answers
1k 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 ...
2
votes
3answers
2k views

Clean URLs issue using .htaccess in PHP project

I am working on a PHP laravel project. I am currently facing issues with .htaccess file. I have following .htaccess: <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteBase / ...
2
votes
2answers
6k views

Is it possible to count the number of hits or loads of a webpage without anything fancy?

I know very little, but I do know that I have some server space given by my University with a file called public_html which anyone can load html and other files from. So is there a simple way to add ...
2
votes
1answer
2k 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 ...
2
votes
1answer
360 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 ~ (.*)...
2
votes
1answer
68 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 ...
2
votes
1answer
243 views

Deny access from the server's IP address and allow www.example.com using Apache configuration

I have the following configuration in my apache2.conf <VirtualHost *:80> ServerAdmin webmaster@Host-Wordpress-01 DocumentRoot /var/www/wordpress_example Servername www.example.com ...
2
votes
1answer
956 views

Subdomain connection time out

I created a subdomain, but the connection just times out. I checked the zone file and I have one (A)ddress record with a wild card (*) pointing to my server's IP address. As far as I understand, that'...
2
votes
1answer
1k views

Setup basic proxypass in Apache

I have a web application that communicates to a web service deployed on the same server. The web app was written with Tibco General Interface and works well only when it is running locally on the ...
2
votes
1answer
148 views

How to setup site for no www

The company I'm working at handles the hosting our self. We got www.domain.com up now and we want to make the domain.com to work as well. We use IIS7. I have seen some articles and found one with URL ...
2
votes
0answers
32 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 ...
2
votes
0answers
303 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 ...
2
votes
0answers
56 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
0answers
32 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.
2
votes
0answers
1k 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 ...
2
votes
0answers
49 views

I would like to share how I configured my Web server for educational reasons. What are the security risks? [closed]

I just finished setting up a server to run a python pyramid application, and while I did not find any guidance on the Internet that helped me, I feel like I could contribute one myself. I'm ...
2
votes
0answers
278 views

How do you configure TeamCity as a subdomain under Plesk and IIS?

Today I bought a domain and a VPS. The VPS came with Plesk installed. I added my website (example.com) and a subdomain (ci.example.com) to Plesk and IIS. When I disable example.com from Plesk panel, ...
1
vote
3answers
4k views

Why isn't my PHP file running?

I recently installed Apache and later installed PHP too. When I browse to http://localhost/index.html it displays the default Apache page "it works". But when i try to run http://localhost/phpinfo....
1
vote
1answer
88 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 ...
1
vote
3answers
4k views

MX record setup to another domain? [duplicate]

Possible Duplicate: How do I leave mail at the registrar while serving the web from host? I have a website aaa.fr with MX record correctly configured and working. Now I'm buying the domain aaa....
1
vote
1answer
229 views

www.foobar.com works but foobar.com results in a 'Server not found' error

I have just setup a minimal (hopefully secure? - comments welcome) apache website using the following configuration file: <VirtualHost *:80> ServerName foobar.com ServerAlias ...
1
vote
2answers
32 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 ...
1
vote
1answer
126 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
1answer
571 views

nginx fails to restart after changing “client_max_body_size”

I'm testing Wordpress on Ubuntu 14.04 with Lemp and having some issues - the latest is I'm trying to import a 30mb file into Wordpress. Doing the import it says 128M limit - which I configured in the ...
1
vote
1answer
754 views

Where to place php libraries/extensions?

I am new to a lot of server configurations and options. I want to add extra php libraries/extensions to my server. Where do I add them? (I am on a CENTOS 6.5 VPS) For example, I want to add the ...
1
vote
3answers
694 views

How do I turn 'off' a (hosted) domain's web server while leaving email intact?

I have a web hosting account at HostGator (for a domain registered with Namecheap), where I would like to only use email, and completely turn off the website/webserver (for that domain), such that it ...
1
vote
1answer
78 views

Accessing a development LAMP server as if it were the live server by faking the URL

At the moment I have my test server set-up like so http://localhost/~callum but I want to set-up a fake url so I can link javascripts and CSS files from my PHP files. Hope this makes sense any help is ...
1
vote
1answer
145 views

What is the purpose of <Directory /> with a local <VirtualHost>

<VirtualHost *:80> DocumentRoot /var/www <Directory /> </Directory> </VirtualHost> Does the <Directory> tag refer to /var/www on the server, or /? What ...
1
vote
1answer
291 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 "...
1
vote
1answer
121 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
1answer
202 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/...