Changes between Version 18 and Version 19 of InstallationInstructions


Ignore:
Timestamp:
11/10/06 14:28:43 (17 years ago)
Author:
schwarz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationInstructions

    v18 v19  
    129129 
    130130 
    131 ==== short bio ==== 
     131==== short bio (homepage.rdf) ==== 
    132132 
    133133There could be a chunk containing short information about yourself: 
     
    145145}}} 
    146146 
    147 ==== projects ==== 
     147==== projects (homepage.rdf) ==== 
    148148 
    149149Most probably, there will be one or more chunks about projects you work for: 
     
    184184    * every project inbetween (project 2 to project n-1) has exactly one hp:next project 
    185185 
    186 ==== interests ==== 
     186==== interests (homepage.rdf) ==== 
    187187 
    188188There can be one or more chunks about your (research) interest. 
     
    257257 2. As already said, each interest MUST be assigned to exactly(!) one section. The section could be created in one interest chunk once and referenced in other interest chunks - see example RDF snippet above. 
    258258 
     259 
     260 
     261---- 
     262=== nice URLs via htaccess === 
     263 
     264This paragraph is about having "nice" URLs, i.e., we want to allow the following TWO possible versions to access rdfhomepage pages:[[BR]] 
     265  {{{old version:}}} http://www.dfki.uni-kl.de/~schwarz/index.php?page=projects [[BR]] 
     266  {{{new version:}}} http://www.dfki.uni-kl.de/~schwarz/projects 
     267 
     268For this to work, you first have to copy or rename the {{{htaccess}}} to {{{.htaccess}}} in your myrdfhomepage directory (i.e., the directory where your config.php, homepage.rdf, etc. is in). 
     269 
     270Then for each page you have in rdfhomepage, you have to 
     271 1. Edit the .htaccess file and add one mappings there. For each index.php?page=xxx, you will have an entry in .htaccess for xxx. Example for pages "projects" and "interests": 
     272{{{ 
     273<Files projects> 
     274ForceType application/x-httpd-php 
     275</Files> 
     276<Files interests> 
     277ForceType application/x-httpd-php 
     278</Files> 
     279}}} 
     280 2. Create a symbolic link to index.php with the name of the page. Following the example with the "projects" page, you have to execute (unix/linux) 
     281{{{ 
     282ln -s index.php projects 
     283ln -s index.php interests 
     284}}}