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 | 16214 | perforce_software | Move the p15-1 line. | ||
//guest/perforce_software/p4rub/p15-1/docbook/assets/publicsite/.htaccess | |||||
#1 | 16213 | perforce_software | Move files to proper depot path to view files correctly from project page. | ||
//guest/perforce_software/p4ruby/p15.1/docbook/assets/publicsite/.htaccess | |||||
#1 | 14756 | tjuricek | p15.1 branch of p4ruby. | ||
//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 ghost-of-sha1: 005052ae424bd69f426f7209e741ca1c8c3253c7 ghost-precedes-sha1: ad052c71a568ef12165e143a6866ad9ceffbb4a1 parent-branch: None@960958 push-state: incomplete |