Difference between revisions of "User:Marcel"

From Amahi Wiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
Acces your Joomla site over Https (HyperText Transfer Protocol Secure)
+
'''Acces your Joomla site over Https (HyperText Transfer Protocol Secure)'''
  
  
Line 15: Line 15:
 
*go to the folder etc/httpd/conf
 
*go to the folder etc/httpd/conf
 
      
 
      
''cd etc/httpd/conf''
+
''cd /etc/httpd/conf''
  
 
*You can type ls to list the files.
 
*You can type ls to list the files.
Line 27: Line 27:
 
*save httpd.conf
 
*save httpd.conf
 
                      
 
                      
control O
+
control+O
  
 
*exit nano
 
*exit nano
 
       
 
       
control X
+
control+X
  
  
Line 40: Line 40:
 
*go to the folder etc/httpd/conf.d
 
*go to the folder etc/httpd/conf.d
 
      
 
      
''cd etc/httpd/conf.d''
+
''cd /etc/httpd/conf.d''
  
 
*You can type ls to list the files.
 
*You can type ls to list the files.
Line 46: Line 46:
 
*edit the joomla config file
 
*edit the joomla config file
 
            
 
            
''nano ****-joomla.conf''(note that the number may change for you)(example: 1006-joomla.conf)  
+
''nano ****-joomla.conf'' (note that the number may change for you)(example: 1006-joomla.conf)  
  
 
*add the following text:
 
*add the following text:
Line 60: Line 60:
 
         SSLCertificateKeyFile /etc/httpd/conf/filename.key
 
         SSLCertificateKeyFile /etc/httpd/conf/filename.key
  
         DocumentRoot /var/hda/web-apps/html
+
         DocumentRoot /var/hda/web-apps/joomla/html
  
         <Directory "/var/hda/web-apps/joomla">  
+
         <Directory "/var/hda/web-apps/joomla/html">  
 
                 Options Indexes FollowSymLinks +ExecCGI
 
                 Options Indexes FollowSymLinks +ExecCGI
 
                 AddHandler fcgid-script .fcg
 
                 AddHandler fcgid-script .fcg
Line 75: Line 75:
 
*save your web-app.conf
 
*save your web-app.conf
 
                
 
                
control O
+
control+O
  
 
*exit nano
 
*exit nano
 
                            
 
                            
control X
+
control+X
 +
 
 +
 
 +
 
 +
[[image:1006-joomlaconf.jpg]]
 +
 
  
  
Line 93: Line 98:
  
  
[[image:joomla.jpg|caption]]
+
[[image:joomla.jpg]]

Latest revision as of 17:50, 3 July 2009

Acces your Joomla site over Https (HyperText Transfer Protocol Secure)


Step 1

  • foward port 443 to your HDA ip adres (example: 192.168.2.10)


Step 2

  • go to the folder etc/httpd/conf

cd /etc/httpd/conf

  • You can type ls to list the files.
  • edit httpd.conf

nano httpd.conf

  • add NameVirtualHost *:443
  • save httpd.conf

control+O

  • exit nano

control+X


Step 3

  • go to the folder etc/httpd/conf.d

cd /etc/httpd/conf.d

  • You can type ls to list the files.
  • edit the joomla config file

nano ****-joomla.conf (note that the number may change for you)(example: 1006-joomla.conf)

  • add the following text:


<VirtualHost *:443>

       ServerName joomla
       ServerAlias username.yourhda.com:443
       SSLEngine On
       SSLCertificateFile /etc/httpd/conf/filename.crt
       SSLCertificateKeyFile /etc/httpd/conf/filename.key
       DocumentRoot /var/hda/web-apps/joomla/html
       <Directory "/var/hda/web-apps/joomla/html"> 
               Options Indexes FollowSymLinks +ExecCGI
               AddHandler fcgid-script .fcg
               AllowOverride AuthConfig
               Order allow,deny
               Allow from all
       </Directory>
   </VirtualHost>


  • save your web-app.conf

control+O

  • exit nano

control+X


1006-joomlaconf.jpg


step 4

  • restart your httpd service

service httpd restart


Enjoy


Joomla.jpg