Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying on live websites #7

Closed
cryptic0 opened this issue Oct 26, 2017 · 3 comments
Closed

Deploying on live websites #7

cryptic0 opened this issue Oct 26, 2017 · 3 comments

Comments

@cryptic0
Copy link

I already have a website at say http://example.com hosted from /var/www/html/

If I place a folder called notes inside /var/www/html/notes and clone fancy-index inside notes/, then copied .htaccess from fancy-index to /var/www/html/ and restarted apache, things should start working right?

But they are not. I also added a staged this folder inside /etc/apache2/apache2.conf as follows:

<Directory /var/www/html/notes>
AllowOverride All
Options Indexes MultiViews FollowSymlinks
Require all granted

Any idea what's going on?

@glen-cheney
Copy link
Owner

That sounds correct to me.

I've only ever used this locally for my Mac, so I'm not sure how it would behave on different systems.

Maybe try quotes around your path? Like in the readme

<Directory "/var/www/html/notes">
    AllowOverride All
    Options Indexes MultiViews FollowSymLinks
    Require all granted
</Directory>

Do you get any errors that you can search the internet for? Maybe a log file has more information.

@cryptic0
Copy link
Author

cryptic0 commented Oct 26, 2017 via email

@glen-cheney
Copy link
Owner

The fixTime method in script.js is what changes the time to an "ago" value. If you view the source of the generated index page, you'll notice that the time starts as something like "2017-10-26 13:14". It's possible there's a bug in the small parser I wrote.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants