Tag Info

Hot answers tagged

4

The main reason is: HTTP requests include the domain name. You could have stackoverflow.com and askubuntu.com all served off the same front end machine. When the server gets a request it needs to know what content it has to send. That's the main reason server configuration speaks about host name at all. Why do you have to set it if you're only serving one ...


4

The line to actually load mod_ssl needs to be added to your Apache config somewhere -- on Debian/Ubuntu, you would just do sudo a2enmod ssl, but I don't know the RedHat/Fedora/CentOS equivalent. You need a line like: LoadModule ssl_module /usr/lib/httpd/modules/mod_ssl.so


4

That is used for matching a regex in a string. See man perlop: Binary "=~" binds a scalar expression to a pattern match. Certain operations search or modify the string $_ by default. This operator makes that kind of operation work on some other string. The right argument is a search pattern, substitution, or ...


2

You should add all the files below /www/html to a user group of which your regular shell account is also a member of and that group has RW access to those files, this way you don't have to login as root to modify files.


2

It could be an attempt to find security flaws. Many sites with a URL like example.com/section/page will blindly put page into a SQL query to select a page. A scrape program might try random input to see if any PHP errors (for example) came up. Alternatively it could be polling to find the language used on the site, in order to try some common exploits for ...


2

You need to use the AuthFormLocation directive. The AuthFormLocation directive specifies the name of an HTML field which, if present, will contain a URL to redirect the browser to should login be successful.


2

I think a good solution is to use a simple .htaccess to redirect the requests.


2

Looks like you asked and answered your own question. The popular suggestions seem to be setting up a 301 redirect, stopping your http server from responding to IP requests, setting up "rel canonical" urls, or trying to put no follow on links to the old database. (I think I'd try removing the old db links from the scripts first, but anyway...)


2

As others have said, it's working now. For the actual reason: Just wait a little while. This error comes up on Dreamhost when you make some kinds of edits–in your case see the "DNS changes" heading for a detailed explanation–and they haven't fully resolved yet. If it lasts more than a couple of hours, then you should file a support request, because ...


1

After looking at your domain and doing a DNS test of my own it appears that non of your nameservers have host files to serve your domain name. All of your nameservers are visible but non of them reply back when attempting to query your domain name. If your domain.com without the www (or with anything for that matter) is resolving for you i believe this must ...


1

This may be kind of easy! Your: ServerName www.mydomain.com ServerAlias mydomain.com ...is backwards, should be: ServerName mydomain.com ServerAlias www.mydomain.com Also, verify your DNS settings, just in case. You should have: A record for mydomain.com that is an IP address Either a CNAME or A record where: _The CNAME is an alias ...


1

Replace these lines: Order Deny,Allow Deny from All With: Require all denied Also make sure both of these modules are loaded: LoadModule authz_core_module modules/mod_authz_core.so LoadModule authz_host_module modules/mod_authz_host.so Source: http://systembash.com/content/apache-2-4-upgrade-and-the-invalid-command-order-error/


1

You have to change some NS or A Records for each entry. Here is an example. My domain is johnbhatt.com and have hosting. Another Domain is pyarb.com and is only a domain name. I forwarded all visitors to johnbhatt.com and each sub-domain like, store.pyarb.com is pointing to store.johnbhatt.com and same for other sub-domains also. I have ...


1

Works fine for me too: play.mink7.com Coming Soon! The DreamHost customer who owns play.mink7.com has not yet uploaded their website or has chosen to leave this holding page active. If you are the owner of this domain, you'll find your login information contained within the emails sent to you when your account was activated. Once logged in, you'll be able ...


1

Open IIS7 manager and on the right hand size select Bindings. Here you can set a host header to your site. Don't forget this name must be resolved to the IP address of the machine hosting the web site. You can do that in you DNS server. If you don't have any DNS server you can set the IP address in hosts file in %windir%\System32\drivers\etc.



Only top voted, non community-wiki answers of a minimum length are eligible