Comments (21)
How about the vhost, it should like below,
<virtualhost *:80>
ServerName example.com
ServerAlias example.com www.example.com
ServerAdmin [email protected]
DocumentRoot /var/www/html/example_com
ErrorLog /var/log/httpd/example_com_error
CustomLog /var/log/httpd/example_com_access common
<Directory "/var/www/html/example_com">
Options FollowSymLinks Indexes
AllowOverride All
Order Allow,Deny
Allow from all
DirectoryIndex index.php
</Directory>
</VirtualHost>
And change the default htacceess under mod_rewrite to:
RewriteBase /blog
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
from htmly.
And please what is the OS? still searching what is the most bullet-proof htaccess file? if we found it than I will a release new version contains this fix.
from htmly.
I'm running a VPS with Ubuntu 12.10 64 bit.
I also have other stuff running like a torrent downloader, openvpn, so I'm not sure if I can change the vhost to work correctly. I'm looking for that file now.
from htmly.
I test it on CentOS and not yet on Ubuntu, try to change the default htaccess file first. I will install Ubuntu on my VPS for testing.
from htmly.
I've changed the things you said but I'm still getting that login not found error.
from htmly.
@danpros said
RewriteBase /blog
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
not
RewriteBase /blog
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index.php)
RewriteRule ^(.*)$ index.php/$1 [L]
from htmly.
This is what I get after changing that.
from htmly.
Please try to change the htaccess atleast become like this:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
or this
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
from htmly.
I am still getting the same error when I use each of those in the .htaccess
from htmly.
just test remove all line in your .htaccess ,
then set as @danpros said
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]
What version of apache and php are you using?
from htmly.
I already turn on the FollowSymLinks, please download the latest version, if still problems I am really sure that this is not HTMLy problems but your apache configurations :)
from htmly.
Give option choice :
Options +SymlinksIfOwnerMatch
from htmly.
great @danpros htmly has backup feature. 👍
from htmly.
I have the same issue, i uploaded the htmly folder to my hoster, configured everything, but the loginpage isnt displayed.
from htmly.
@SeniorTete did you use apache2 on ubuntu? is this helpful? http://xface2.com/2014/03/mengatasi-fail-apache2-saat-menginstall-htmly (use Google Translate).
from htmly.
@danpros I dont have my own webserver, i only have some webspace. And there i uploaded htmly. I dont know with os the server is running. There are multiple websites hosted and i cant apply any changes to the config of appache webserver or php.ini
from htmly.
@SeniorTete open .htaccess file than try to commented below:
# Don't show directory listings for URLs which map to a directory.
Options -Indexes
# Follow symbolic links in this directory.
Options +FollowSymLinks
become
# Don't show directory listings for URLs which map to a directory.
# Options -Indexes
# Follow symbolic links in this directory.
# Options +FollowSymLinks
from htmly.
i allready deleted all .htaccess files in the htmly directory. Should i recreate the files?
from htmly.
Yes, please copy the default htaccess https://github.com/danpros/htmly/blob/master/.htaccess
Please don't remove htaccess file inside config folder for your password security.
from htmly.
I uploaded the .htaccess file to my config folder und tried it with the both options commented and without but nothing changed.
from htmly.
I had this same problem too. CentOS 6.5 with httpd-2.2.15-31.el6
. Resolved by adding AllowOverride All
to vhost definition as follows:
<VirtualHost *:80>
ServerName www.example.com
ServerAlias example.com
DocumentRoot /var/www/example.com
<Directory "/var/www/example.com">
AllowOverride All
</Directory>
</VirtualHost>
from htmly.
Related Issues (20)
- 404 not found when submitting installation form HOT 2
- Parse error: syntax error, unexpected '?' while installing htmly 2.8.3 on PHP < 7.0 HOT 5
- [v2.8.4] List of posts shows wrong character encoding HOT 4
- Text "Tag" in "Add content" and "Edit" page is not translatable HOT 2
- PHP-INTL date format HOT 3
- Unsorted categories list in admin views HOT 3
- An idea: Is it possible to labelize all the fields? HOT 2
- Comment Slug HOT 13
- Just installed, nice app but... HOT 16
- Add Content To Sidebar HOT 5
- Some issues after the new installation HOT 12
- What need to be done to display rtl language (such as Arabic or Hebrew) HOT 1
- RSS import failed HOT 3
- How to customize <title></title> HOT 12
- php-Warning in admin/updates HOT 2
- Can't edit or delete posts HOT 8
- Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string HOT 3
- Known issue: Does not support underscore character in username HOT 1
- Version 2.9.0 - i18n error HOT 11
- Looking to override some css HOT 7
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 htmly.