Comments (13)
Check your .htaccess file. It exists in the root of the repository but certain OS configurations won't show it. You'll need to make sure it uploaded to your server properly.
from daux.io.
I have copied an .htaccess file in my daux folder which contains :
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
RewriteEngine On
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L,QSA]
But with this file now I have this error when attempting to onnect to my kernosoft.fr/daux/index.php
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Maybe it's interfering with my .htaccess in the root folder, which is managed by my provider, with a "rewrite on" also ?
from daux.io.
Try removing the three PHP_FLAG lines. I had a similar issue.
On 2013-07-24 6:56 AM, "aacp29" [email protected] wrote:
I have copied an .htaccess file in my daux folder which contains :
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors onRewriteEngine On
#RewriteBase /RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L,QSA]But with this file now I have this error when attempting to onnect to my
kernosoft.fr/daux/index.phpInternal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.Please contact the server administrator, [email protected] and
inform them of the time the error occurred, and anything you might have
done that may have caused the error.More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an
ErrorDocument to handle the request.Maybe it's interfering with my .htaccess in the root folder, which is
managed by my provider, with a "rewrite on" also ?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/44#issuecomment-21486149
.
from daux.io.
Great ! It works properly know. Thank's a lot.
from daux.io.
Hi, i am experiencing a similar problem. My .htaccess file is present, but when i click the documentation button i get a 404. i tried removing the php_flag lines but no avail. i am not getting the internal server error though.
Also i am hosting on an Apache 2.2.22 (Debian) on my http://www.raspberrypi.org/
from daux.io.
Have you tried the new clean_urls false setting?
from daux.io.
no, how exactly would i do that?
from daux.io.
add
"clean_urls": false
to the config.json file
On Mon, Jul 29, 2013 at 4:17 PM, sammko [email protected] wrote:
no, how exactly would i do that?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/44#issuecomment-21726514
.
Peter
from daux.io.
And make sure that you're using the most recent version of daux. (clean_urls were only added last night, so if you downloaded the zip before that, you'll need to redownload.
As a different solution, you could try changing your RewriteBase. If daux isn't stored in the root of your server (ie, you have to go to mysite.com/docs to see it as opposed to mysite.com), then your server might require that the RewriteBase is correct.
On my server, daux is stored in mysite.com/internal/docs, so my RewriteBase is /internal/docs/
The difference is that with clean_urls disabled, you'll see index.php in the URL of any daux pages you visit. If clean_urls is left enabled and you get .htaccess working, then index.php won't appear in your URL's
For example:
"clean_urls": true (the default)
mysite.com/internal/docs/Getting_Started
"clean_urls": false
mysite.com/internal/docs/index.php/Getting_Started
from daux.io.
That worked, thanks :D
from daux.io.
How to redirect from
root/folder0/file0
to
root/folder0/file1?
it redirects to
root/folder0/folder0/file1
when the link is: my link<\a>
Can it redirects only to files which are located deeper in a folders tree?
Can I set links as absolute paths?
from daux.io.
You need to add a / at the front of your href reference. So it should be /folder0/file1.
If you do not add the /, it takes locations relative to your current location. So if the page you're currently on is mysite.com/test/one/two, and you click an href="red/blue" then your browser will go to mysite.com/test/one/two/red/blue.
Whereas if the href is /red/blue, then your browser will go to mysite.com/red/blue.
When you add a / to the start, it's still a relative path, but it's relative to the server root instead of your current location. An absolute path is just that, absolute. It absolutely does not matter where you currently are on which server in the world, "http://example.com/red/blue" will always point to the exact same location on the internet. (DNS issues and other unrelated things aside) So they're mostly useful when you're linking to different sites. Within the same site/server you want to use relative as much as possible because a) it makes HTTPS easier, and b) If your domain ever changes, your internal links will still work.
from daux.io.
It works ok now, thanks!
from daux.io.
Related Issues (20)
- Add an option to hide 'previous' and 'next' buttons HOT 5
- Not able to set a title for _index.md HOT 3
- Wrong links in readme HOT 4
- Undefined index: jump_buttons HOT 5
- Enhancement: GFM is missing task lists HOT 2
- problems with page jump links, like in TOC, and special chars HOT 1
- Create a daux docker image HOT 2
- tipuesearch shows german umlauts wrong HOT 4
- Add footer to all pages via Processor HOT 2
- Daux.io Website is Down HOT 13
- theme and template specification HOT 2
- Request: automatic conversion from a unc path to file:// HOT 4
- Multi-language Support for Buttons & Search field HOT 2
- Simple custom css HOT 6
- Search bar breaks front page rendering in mobile Opera HOT 1
- New demo for your list HOT 3
- Uploading to confluence throws CA error HOT 1
- Embedded HTML width HOT 1
- Install on an VPS ubuntu or debian via Nginx HOT 2
- How to disable the auto collapse in the navigation panel?
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 daux.io.