Details

      Description

      Create a folder that can be viewed within a browser so that we put static HTML pages there related to our project.
      In attachments you can find a ZIP archive with HTML pages, please, put it as experiment to that new web folder so that it will have URL like that:
      http://api.jtalks.org/javatalks-utils/0.2/[and here is the root pages]
      If use types simply http://api.jtalks.org/, she should see a folder javatalks-utils, and then when she enters it, she should see another folder - 0.2. And this should happen until she chooses an HTML file.
      If it's possible, when user enters:
      http://api.jtalks.org/javatalks-utils/0.2
      The default page should be opened: index.html.

        Attachments

          Issue Links

            Structure

              Activity

              Hide
              aidjek Evgheni Antropov added a comment -

              need to create independent configuration file with own DocumentRoot and ServerName

              Show
              aidjek Evgheni Antropov added a comment - need to create independent configuration file with own DocumentRoot and ServerName
              Hide
              aidjek Evgheni Antropov added a comment -

              All was doing regarding the task:
              There are independent configuration file for this virtual host:

              [root@jtalks html]# cat /etc/httpd/conf.d/api.jtalks.org.conf
              <VirtualHost *:80>
              ServerName api.jtalks.org
              ServerAlias www.api.jtalks.org
              ServerAdmin aidjek@jtalks.org
              DocumentRoot /var/www/html/api

              ServerSignature On

              CustomLog /var/log/httpd/api_access.log combined
              ErrorLog /var/log/httpd/api_error.log
              LogLevel error

              <IfModule mod_rewrite.c>

              1. RewriteEngine On
              2. RewriteRule ^/$ /javatalks-utils/0.2/ [R]
                </IfModule>
                </VirtualHost>

              Also there are independent document root /var/www/html/api.

              Attached archive have extracted in /var/www/html/api/javatalks-utils/0.2/

              By default on page http://api.jtalks.org/javatalks-utils/0.2/ loading index.html
              If do you need to have redirect from http://api.jtalks.org to http://api.jtalks.org/javatalks-utils/0.2/index.html - just uncomment 2 line of mod_rewrite in configuration file.

              Show
              aidjek Evgheni Antropov added a comment - All was doing regarding the task: There are independent configuration file for this virtual host: [root@jtalks html] # cat /etc/httpd/conf.d/api.jtalks.org.conf <VirtualHost *:80> ServerName api.jtalks.org ServerAlias www.api.jtalks.org ServerAdmin aidjek@jtalks.org DocumentRoot /var/www/html/api ServerSignature On CustomLog /var/log/httpd/api_access.log combined ErrorLog /var/log/httpd/api_error.log LogLevel error <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^/$ /javatalks-utils/0.2/ [R] </IfModule> </VirtualHost> Also there are independent document root /var/www/html/api. Attached archive have extracted in /var/www/html/api/javatalks-utils/0.2/ By default on page http://api.jtalks.org/javatalks-utils/0.2/ loading index.html If do you need to have redirect from http://api.jtalks.org to http://api.jtalks.org/javatalks-utils/0.2/index.html - just uncomment 2 line of mod_rewrite in configuration file.
              Hide
              ctapobep Stanislav Bashkyrtsev added a comment -

              Very cool! Thanks a lot!

              Show
              ctapobep Stanislav Bashkyrtsev added a comment - Very cool! Thanks a lot!

                People

                • Assignee:
                  aidjek Evgheni Antropov
                  Reporter:
                  ctapobep Stanislav Bashkyrtsev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0h
                    0h
                    Logged:
                    Time Spent - 1h
                    1h

                      Structure Helper Panel