Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix.htpasswd

  • Loading branch information...
commit 64e501491b69282947f9505e9c788ebf7552696a 1 parent bb110b4
@tach authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  public_html/.htaccess
  2. +1 −1  upgrade.sh
View
2  public_html/.htaccess
@@ -22,6 +22,6 @@ AddType application/xml .rdf
AuthName tDiary
AuthType Basic
AuthUserFile /home/DUMMY_NAME/.htpasswd
- Require user foo
+ Require user DUMMY_NAME
</Files>
View
2  upgrade.sh
@@ -21,7 +21,7 @@ egrep -v '^tdiary\.conf$' tdiary-$VERSION/.gitignore > public_html/.gitignore
# move .htaccess
cp public_html/dot.htaccess public_html/.htaccess
-perl -i -npe "s|/home/foo/.htpasswd|/home/DUMMY_NAME/.htpasswd|" public_html/.htaccess
+perl -i -npe "s|\\bfoo\\b|DUMMY_NAME|g" public_html/.htaccess
# create tdiary.conf
cp public_html/tdiary.conf.beginner public_html/tdiary.conf
Please sign in to comment.
Something went wrong with that request. Please try again.