Giter VIP home page Giter VIP logo

Comments (5)

quantumbiotch avatar quantumbiotch commented on May 29, 2024

Hello, did you figure this out?
Thanks so much!

from microblog.

quantumbiotch avatar quantumbiotch commented on May 29, 2024

figured it out, rename to -master in the htaccess folder... not the old name, just, "microblog" so do microblog-master

from microblog.

oelna avatar oelna commented on May 29, 2024

Hello, did you figure this out? Thanks so much!

I'm not sure what issue you were having exactly, but I believe hosting on localhost should be relatively easy and I thought to have solved it in the past, yeah. Let me know if things are unclear.

from microblog.

quantumbiotch avatar quantumbiotch commented on May 29, 2024

from microblog.

foxnoodles avatar foxnoodles commented on May 29, 2024

@oelna I'm getting internal sever error 500 on Mamps localhost when trying to run this.

DB file was automatically created so at least it ran through some of it.

.htaccess looks like this. I've added RewriteCond %{SERVER_PORT} = 8888. because the default url for mamp is localhost:8888

AddCharset UTF-8 .xml
AddCharset UTF-8 .json

AddType application/atom+xml .xml
AddType application/json .json

<Files ~ "\.db$">
  <IfModule !mod_authz_core.c>
    Order allow,deny
    Deny from all
  </IfModule>
  <IfModule mod_authz_core.c>
    Require all denied
  </IfModule>
</Files>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /microblog

# friendly URLs
RewriteRule ^feed/json/?$ feed/feed.json [L]
RewriteRule ^feed/atom/?$ feed/feed.xml [L]

RewriteCond %{SERVER_PORT} = 8888
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L]
</IfModule>

Any ideas?

from microblog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.