virtualhost – Two applications on apache2 subdomain.example.com and example.com

I would like to get working apache2 configuration with http://openproject.example.com and https://example.com (wordpress blog).

My configuration:

/etc/apache2/sites-enabled/wordpress.conf

<VirtualHost *:80>
        ServerAdmin admin@HOSTNAME_HERE.com
        DocumentRoot /var/www/HOSTNAME_HERE/wordpress/
        Redirect / https://HOSTNAME_HERE.com/
        <Directory /var/www/HOSTNAME_HERE/wordpress/>
                Options +FollowSymLinks
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

/etc/apache2/conf-enabled/wordpress.conf

Alias /wordpress /var/www/HOSTNAME_HERE/wordpress
<Directory /var/www/HOSTNAME_HERE/wordpress>
    Options FollowSymLinks
    DirectoryIndex index.php
    <IfModule mod_php.c>
        <IfModule mod_mime.c>
            AddType application/x-httpd-php .php
        </IfModule>
        <FilesMatch ".+.php$">
            SetHandler application/x-httpd-php
        </FilesMatch>
    </IfModule>
</Directory>
<Directory /usr/share/phpmyadmin/setup>
    <IfModule mod_authz_core.c>
        <IfModule mod_authn_file.c>
            AuthType Basic
        </IfModule>
        Require valid-user
    </IfModule>
</Directory>
<Directory /usr/share/phpmyadmin/libraries>
    Require all denied
</Directory>
<Directory /usr/share/phpmyadmin/setup/lib>
    Require all denied
</Directory>

available with SSL through

/etc/apache2/sites-enabled/default-ssl.conf

<IfModule mod_ssl.c>
        <VirtualHost *:443>
                ServerAdmin admin@HOSTNAME_HERE.com
                ServerName ip.address.of.hostname
                DocumentRoot /var/www/HOSTNAME_HERE/wordpress/
                <Directory /var/www/HOSTNAME_HERE/wordpress/>
                     Options +FollowSymLinks
                     AllowOverride All
                     Order allow,deny
                     allow from all
                </Directory>
                ErrorLog ${APACHE_LOG_DIR}/error.log
                CustomLog ${APACHE_LOG_DIR}/access.log combined
                SSLEngine on
                SSLProtocol         all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
                SSLCipherSuite      ECDHE-ECDSA-AES256-GCM-SHA384...
                SSLHonorCipherOrder on
                SSLCompression      off
                SSLSessionTickets   off
                SSLCertificateFile      /etc/apache2/ssl/certificate.crt
                SSLCertificateKeyFile /etc/apache2/ssl/pkey.key
                SSLCertificateChainFile /etc/apache2/ssl/chain-ca.crt
                <FilesMatch ".(cgi|shtml|phtml|php)$">
                                SSLOptions +StdEnvVars
                </FilesMatch>
                <Directory /usr/lib/cgi-bin>
                                SSLOptions +StdEnvVars
                </Directory>
        </VirtualHost>
</IfModule>

/etc/apache2/sites-enabled/openproject.conf

<VirtualHost *:80>
  ServerName openproject.example.com
  DocumentRoot /opt/openproject/public

  ProxyRequests off

  Include /etc/openproject/addons/apache2/includes/vhost/*.conf

  # Can't use Location block since it would overshadow all the other proxypass directives on CentOS
  ProxyPass / http://127.0.0.1:6000/ retry=0
  ProxyPassReverse / http://127.0.0.1:6000/
</VirtualHost>

/etc/openproject/addons/apache2/includes/vhost/openproject.conf

ServerName openproject.example.com
redirect permanent / http://example.com/

ServerName      openproject.example.com
ServerAdmin     admin@example.com
DocumentRoot    /opt/openproject/public

ProxyRequests off
ProxyPass / http://127.0.0.1:6000/ retry=0
ProxyPassReverse / http://127.0.0.1:6000/


<LocationMatch "^/sys">
  <IfModule mod_authz_core.c>
          Require local
  </IfModule>

  <IfModule !mod_authz_core.c>
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
  </IfModule>
</LocationMatch>

Alias /assets /opt/openproject/public/assets
Alias /uploads /opt/openproject/public/uploads
<Directory "/opt/openproject/public">
Options -Indexes
<IfModule mod_authz_core.c>
  Require all granted
</IfModule>

<IfModule !mod_authz_core.c>
  Order deny,allow
  Allow from all
</IfModule>
</Directory>

 ProxyPass /assets/ !
 <Location /assets/>
 FileETag Size
 ExpiresActive On ExpiresDefault "access plus 1 year"
 </Location>

 <FilesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
  ExpiresActive On
  ExpiresDefault "access plus 1 year"
</FilesMatch>

AddOutputFilterByType DEFLATE text/html text/css application/x-javascript application/javascript

ErrorLog    /var/log/apache2/openproject.example.com-error.log

When I go to https://example.com everything works as expected.

When I go to http://openproject.example.com everything works as expected.

Unfortunately http://example.com shows openproject application and all other subdomains such as http://notexisting.example.com

Rule for http://example.com is to be redirected to https://example.com

How to configure it as expected?

applications – Any apps or ways to categories group apps folders in menu view

Question :- Any apps or ways to categories group apps folders in menu view

Is there any apps or way setting to categories group move apps installed icons in folders as there is jumble of apps to search in alphabetical order which cant be moved or.clubed in Android 6.0 unrooted mobile phone.

I had searched Google and.finded smart launcher go launcher x or drawer to. Circle launchers but all just change wallet create widgets folder organizer manager but no one manages the menu view

Yes I know we can create folder in home (mobile desktop views) but making it jumbled slow down booting Android starting and many time it don’t display icon image on reboot of mobiles.

Can we create self menu (as start menu in Windows properly organised) through app and hide the original menu and replace our own menu. I have seen a circle.menu recreated by some apps.

Any stable good app to create organize categorise apps icons shortcuts in a menu or app it’s self.

Meetup group 2nd strike – Web Applications Stack Exchange

Meetup group 2nd strike – Web Applications Stack Exchange

applications – How can I select multiple recycler view items and delete them with the help of action mode, simple toolbar, I mean I can delete multiple items by this

applications – How can I select multiple recycler view items and delete them with the help of action mode, simple toolbar, I mean I can delete multiple items by this – Android Enthusiasts Stack Exchange

applications – Hello everyone i found an app called app stack that was factory installed? Is it any good and also is it ok to give it full permission


Your privacy


By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.




How do you sign applications in Visual Studio 2019? [migrated]

  1. Summary: I want to Sign my Visual Studio C++ project, that way when my users start the program they don’t get that "WINDOWS PROTECTED YOUR PC" notification because the app is from an unknown publisher.
  2. What I’ve Tried: So, I automatically assumed that it would be as simple as going to the project settings and messing around in there. Note that I started my project as a Empty Project and am building with GLFW and GLEW. Whenever I do go to the Project Settings I get that configuration window. There is no signing tab and I’m not sure where to look.
  3. What I’ve Found: So, I went to my default search engine and searched around and found this: https://docs.microsoft.com/en-us/visualstudio/ide/how-to-sign-application-and-deployment-manifests?view=vs-2019 And I read through it, but it says to go to the project properties. This just brings up a configuration window which doesn’t have the Signing tab. Now I did notice in the sidebar it mentioned the word Manifest, and I looked through my project settings for the word Manifest and found the section called "Manifest Tool. Although, I’m not sure what to do on here to sign the *.exe that will be produced after compiling in release mode.

So, can you give me some pointers on how this all works? I’m kind of new to C++ and all so, any help will do. Am I even in the right section of the project settings?

reference request – Applications of ZFA-Set Theory

The set theory with atoms (ZFA), is a modified version of set theory, and is characterized by the fact that it admits objects other than sets, atoms. Atoms are objects which do not have any elements.

I have thusfar found two applications of ZFA-Set Theory. Firstly, ZFA can be used to prove the independence of the Axiom of Choice.

Secondly, one can show a correspondence between certain ZFA-models and a certain class of groups.

Both of these applications of ZFA make use of so-called permutation models.

I’d like to know what other applications ZFA might have. I would particularly be interested in applications that do not make use of permutation models.

applications – Spyware called System Update Service has been installed on my phone. Rather than removing it, can I reverse attack?

applications – Spyware called System Update Service has been installed on my phone. Rather than removing it, can I reverse attack? – Android Enthusiasts Stack Exchange

applications – macOS – Access app paths in Privacy and Security pane in System Preferences?

I am on macOS Big Sur 11.4 and have just allowed an app to access the microphone:

privacy pane

The app’s name isn’t Electron, but a component of it that provides audio functionalities is built on electron.

As you can see, Electron is a very generic app (or, framework) name and the Privacy and Security pane showing this isn’t very helpful as I have no idea (for sure) which app this Electron app belongs to.

I guess the list of authorized apps are is store in a sqlite database stored somewhere in the System or User Library, but I don’t know exactly where. If I knew, I could’ve read the paths of the authorized apps myself.

So my question is, where is this database located, or is there another way to access the paths of the authorized apps?

applications – “Complete action using” with duplicate app


Your privacy


By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.




DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies 5000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive.com Proxies-free.com New Proxy Lists Every Day Proxies123.com Buy Cheap Private Proxies; Best Quality USA Private Proxies