- DirectoryIndex index.html
- # Handles rewriting old HTML filenames for the P4SAG.
- <IfModule mod_rewrite.c>
- RewriteEngine on
- # The following looks way too complicated to be necessary, but in fact it is.
- # It is not straightforward to redirect to renamed files that used to exist
- # in a subdirectory AND be agnostic to where these files live in the document
- # root.
- RewriteBase /
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond $1#%{REQUEST_URI} ([^#]*)#(.*)\1$
- RewriteRule ^(00_preface.html)$ %2index.html [QSA,R,L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond $1#%{REQUEST_URI} ([^#]*)#(.*)\1$
- RewriteRule ^(01_ruby.html)$ %2chapter.ruby.html [QSA,R,L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond $1#%{REQUEST_URI} ([^#]*)#(.*)\1$
- RewriteRule ^(02_perl.html)$ %2chapter.perl.html [QSA,R,L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond $1#%{REQUEST_URI} ([^#]*)#(.*)\1$
- RewriteRule ^(03_python.html)$ %2chapter.python.html [QSA,R,L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond $1#%{REQUEST_URI} ([^#]*)#(.*)\1$
- RewriteRule ^(04_php.html)$ %2chapter.php.html [QSA,R,L]
- </IfModule>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 16213 | perforce_software | Move files to proper depot path to view files correctly from project page. | 9 years ago | |
//guest/perforce_software/p4ruby/r15.1/docbook/assets/publicsite/.htaccess | |||||
#1 | 14759 | tjuricek | p4ruby 2015.1.0 This will be a source gem targeted at Linux. Windows support will come af...ter automated builds of the C++ p4api are available for MinGW-w64. For more information, please review the workshop project: https://swarm.workshop.perforce.com/projects/perforce-software-p4ruby/ « |
10 years ago | |
//guest/perforce_software/p4ruby/p15.1/docbook/assets/publicsite/.htaccess | |||||
#1 | 14756 | tjuricek | p15.1 branch of p4ruby. | 10 years ago | |
//guest/perforce_software/p4ruby/main/docbook/assets/publicsite/.htaccess | |||||
#1 | 14682 | Git Fusion | Git Fusion branch management Imported from Git ghost-of-change-num: 960958 &nb...sp;ghost-of-sha1: 005052ae424bd69f426f7209e741ca1c8c3253c7 ghost-precedes-sha1: ad052c71a568ef12165e143a6866ad9ceffbb4a1 parent-branch: None@960958 push-state: incomplete « |
10 years ago |