Comments (13)
I have the same problem ?
from pico.
What are your symptoms? If you can give more specifics about what you're seeing, that would help. Thanks!
from pico.
Hello Jason
I have a basic installation here: http://pico.spiffin.net - using the default htaccess file.
http://pico.spiffin.net/sub - throws a 404
http://pico.spiffin.net/sub/page - throws a 404
http://pico.spiffin.net/content/sub/index.txt - displays the text file
If I throw a test file (test.html) into the sub directory:
http://pico.spiffin.net/sub/test.html - throws a 404
http://pico.spiffin.net/content/sub/test.html - displays the html file
So .. either htaccess isn't rewriting properly .. or something else?
BTW the above is running on Apache 2 & PHP 5.3
from pico.
(Pardon my belated reply here.) Spiffin, is there any chance you could share your repository?
from pico.
Hello,
I was having the same problem.
Adding "Options +FollowSymLinks" to my .htaccess file seemed to do the trick.
from pico.
I am having the same issues as @spiffin with a straight git clone of the repo
I tried adding "Options +FollowSymLinks" to my .htaccess file, setting a base url (http://localhost/user/Pico/), setting all files to 777, still no luck
I am running a Debian box
from pico.
Found the cluprit :
if($url) $file = strtolower(CONTENT_DIR . $url);
should be :
if($url) $file = CONTENT_DIR . $url;
On linux boxes urls are case sensitive so /Pico != /pico
Plus if you just do a stupid git clone the default folder starts with an uppercase letter
Will do a pull request
from pico.
Works for me .. thanks purplefish32.
from pico.
Forgive me if posting on a closed bug is improper. I'm having the same issues that spiffin was having. I've applied the multicase fix proposed by purplefish32, and added +FollowSymLinks
to my .htaccess file
(as suggested by lukemetz), but neither have solved my issue. Like spiffin, I can navigate to the text files in a similar fashion.
I have also confirmed through phpinfo()
that mod_rewrite
is indeed enabled.
I don't know if that would have any impact on anything, but I should probably point out that this is installed on my local Scientific Linux 6 server, which is behind a cable "modem", and I've set up a dynamic dns subdomain through freedns.afraid.org in order to access the server remotely.
The site is available here: http://golem.pwnz.org/pico
Thanks.
from pico.
@the-golem If you're running Apache httpd, did you set AllowOverride All
in your host/virtual host configuration? You may need to tweak the AllowOverride
if you don't want to let .htaccess
files override other parameters.
from pico.
@johnko Thank you, that did it.I didn't even think about checking that option. Now I'll know better for next time.
from pico.
@the-golem No problem :)
FWIW, I had the same issue and figured it out, but thought it was just me so I never posted about it :p
from pico.
@the-golem I'm still running into this issue. Have a look here: http://vexis.hostt.net/pico/
from pico.
Related Issues (20)
- Pico 3.0: Param 'date_format' from config.yml.template leads to PHP Fatal Error HOT 2
- Reverse case sensitive declaration of meta attributes is confusing HOT 5
- Twig 2.x and YAML 3.x not supported HOT 3
- Visit counter HOT 24
- Reading Time HOT 2
- Best way to add script inside <head> HOT 4
- picocms.org is down right now HOT 3
- Nice Date filter HOT 3
- pre-bundled release: Getting "HTTP ERROR 500" HOT 7
- Support for Twig extensions? HOT 3
- cookbook issue HOT 8
- [draft ] Autoload extra stuff HOT 5
- [PLUGIN] XMPP: Post to PubSub [NOT CLOSED YET] HOT 6
- Probably a wrong logical operator HOT 2
- Question: How to use page yaml-header meta-data in php for a plugin? HOT 4
- weird display of date HOT 7
- simple comment system HOT 7
- PHP pages depth & offset HOT 2
- Pico Edit says "unmaintained - archived", HOT 2
- Pico project throwing an error template. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pico.