About 2,890,000 results
Open links in new tab
  1. linux - How can I automatically redirect HTTP to HTTPS on Apache ...

    Using mod_rewrite is not the recommended way. Instead, use a virtual host and redirect. In case if you are inclined to do using mod_rewrite: RewriteEngine On # This will enable the Rewrite …

  2. apache2 - command for checking Apache configuration - Server …

    Jan 7, 2020 · I'm looking for a command that checks the validity of the config files in Apache server on both Debian and RHEL distros. I need to do this prior to restart, so there will be no …

  3. Is there any difference between apache2 and httpd?

    Feb 22, 2016 · The directives used in apache2 and httpd config files are slightly different, as well as the directory structure. It's advised to install apache2 on Debian-based distros (Ubuntu) and …

  4. Apache2: 'AH01630: client denied by server configuration'

    Aug 23, 2013 · It's already installed, but it's disabled on a default Apache installation. Use the a2enmod command to enable the module: $ sudo a2enmod rewrite This will activate the …

  5. Apache redirect to another port - Stack Overflow

    Sympotms are that I put www.mydomain.com in the browser but and it goes to apache root dir. Instead, I'd like for it to redirect to a jboss subdirectory localhost:8080/subdir. I currently have it …

  6. apache - How do I disable directory browsing? - Stack Overflow

    On my Ubuntu 12.04 apache2, didn't find Indexes in either apache2.conf or httpd.conf, luckily I found it in sites-available/default. After removing it, now it doesn't see directory listing.

  7. How do I change the default index page in Apache?

    Oct 11, 2013 · By default, DirectoryIndex is index.html but the file is absent. Just create index.html in /var/www/html and you will see your contents.

  8. Windows could not start the Apache2 on Local Computer - problem

    Oct 12, 2008 · Windows could not start the Apache2 on Local Computer - problem Asked 17 years ago Modified 2 years, 10 months ago Viewed 424k times

  9. apache2 - Apache not able to restart - Ask Ubuntu

    Trying to restart apache from terminal using the following command: sudo service apache2 restart When executing that command, I'm getting below error: Job for apache2.service failed. See …

  10. What is the difference between apache2 reload, restart, graceful?

    Jul 22, 2015 · service apache2 reload is equivalent to -k graceful. service apache2 restart is equivalent to -k stop followed by starting the server again. At least in my system; read the init.d …