.htaccess #1

  • //
  • guest/
  • paul_allen/
  • p4convert-rusty/
  • docs/
  • assets/
  • publicsite/
  • .htaccess
  • View
  • Commits
  • Open Download .zip Download (559 B)
DirectoryIndex index.html

# Handles rewriting old HTML filenames for the P4Convert.
<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 ^(p4convert-svn.html)$       %2index.html [QSA,R,L]
</IfModule>
# Change User Description Committed
#1 12446 Paul Allen Branching using p4convert-rusty
//guest/perforce_software/p4convert/docs/assets/publicsite/.htaccess
#1 9809 Paul Allen Documentation content.
Will need to publish Perforce Documentation _build (Check if Open Source compatible).