Interesting Take On A Wiki - Testing Now
-
I added that to the htaccess and change apache confs back and restarted apache and broke again.
Looking at httpd.conf I see some differences between that and the vhost config also. so bah.
So thinking to just go with providing a vhost file.
-
Btw, I noticed directory browsing is enabled by default. Is it best to make the changes to the /etc/httpd/conf.d/autoindex.conf file to disable this for the server globally?
-
@nashbrydges said in Interesting Take On A Wiki - Testing Now:
Btw, I noticed directory browsing is enabled by default. Is it best to make the changes to the /etc/httpd/conf.d/autoindex.conf file to disable this for the server globally?
That would be an apache security setting and not directly related to the install.
-
@jaredbusch said in Interesting Take On A Wiki - Testing Now:
@nashbrydges said in Interesting Take On A Wiki - Testing Now:
Btw, I noticed directory browsing is enabled by default. Is it best to make the changes to the /etc/httpd/conf.d/autoindex.conf file to disable this for the server globally?
That would be an apache security setting and not directly related to the install.
Thanks. Disabled it in the vhost file.
-
I've got it. In
/etc/httpd/conf/httpd.conf
file.Changing
<Directory "/var/www/html">
to<Directory "/var/www/html/bookstack/public">
And also changingAllowOverride None
toAllowOverride All
fixes the not found page. -
So from start to finish, running JB's script everything worked for me out of the box, except for one thing. I had to
firewall-cmd --set-default-zone=public
But that may be because my install was done with the Server DVD and not a minimal install.
-
@dafyre said in Interesting Take On A Wiki - Testing Now:
So from start to finish, running JB's script everything worked for me out of the box, except for one thing. I had to
firewall-cmd --set-default-zone=public
But that may be because my install was done with the Server DVD and not a minimal install.
The default zone is FedoraServer.
-
@black3dynamite said in Interesting Take On A Wiki - Testing Now:
@dafyre said in Interesting Take On A Wiki - Testing Now:
So from start to finish, running JB's script everything worked for me out of the box, except for one thing. I had to
firewall-cmd --set-default-zone=public
But that may be because my install was done with the Server DVD and not a minimal install.
The default zone is FedoraServer.
Yeah. The script JB posted uses --zone=public so that's the reason I had to do that on mine.
-
@dafyre said in Interesting Take On A Wiki - Testing Now:
So from start to finish, running JB's script everything worked for me out of the box, except for one thing. I had to
firewall-cmd --set-default-zone=public
But that may be because my install was done with the Server DVD and not a minimal install.
Not my problem that you failed to follow instruction.
-
Dont specify a zone and it will default to the current one in use...
-
@black3dynamite said in Interesting Take On A Wiki - Testing Now:
I've got it. In
/etc/httpd/conf/httpd.conf
file.Changing
<Directory "/var/www/html">
to<Directory "/var/www/html/bookstack/public">
And also changingAllowOverride None
toAllowOverride All
fixes the not found page.Just tested this and it does resolve the issues.
But, I think it will be cleaner to use the vhost file simply named bookstack.conf -
@tim_g said in Interesting Take On A Wiki - Testing Now:
Dont specify a zone and it will default to the current one in use...
-
I will clean up the above instructions and make a how to install post today.
-
@jaredbusch said in Interesting Take On A Wiki - Testing Now:
@dafyre said in Interesting Take On A Wiki - Testing Now:
So from start to finish, running JB's script everything worked for me out of the box, except for one thing. I had to
firewall-cmd --set-default-zone=public
But that may be because my install was done with the Server DVD and not a minimal install.
Not my problem that you failed to follow instruction.
Yes, yes, I know. I posted that for others who don't follow your instructions.
Admittedly, I did look for the "Minimal" option, but that must not be available on the 2GB iso.
-
The WSYWIG editor is pretty cool... You can paste in images and such from the clipboard.
It also integrates with Draw.io for inserting diagrams into your page.
-
Dev closed the issue stating they don't want the conf file in the repo for silly reasons.. but meh.. instructions coming shortly.
following my own instructions one more time with the target of making a guide.
-
It forces https? I just wanted to throw it up into WAMP but don't want to fart with trying to make SSL work on it.
Any way to disable that and play with it without SSL? -
@guyinpv said in Interesting Take On A Wiki - Testing Now:
It forces https? I just wanted to throw it up into WAMP but don't want to fart with trying to make SSL work on it.
Any way to disable that and play with it without SSL?You don't need to do anything with SSL to make it work. Works by default.
-
@guyinpv said in Interesting Take On A Wiki - Testing Now:
It forces https? I just wanted to throw it up into WAMP but don't want to fart with trying to make SSL work on it.
Any way to disable that and play with it without SSL?It absolutely does not use SSL by default.
No idea what you did to think that.
Now, I would never use it without SSL. But that is different.
-
@jaredbusch said in Interesting Take On A Wiki - Testing Now:
@guyinpv said in Interesting Take On A Wiki - Testing Now:
It forces https? I just wanted to throw it up into WAMP but don't want to fart with trying to make SSL work on it.
Any way to disable that and play with it without SSL?It absolutely does not use SSL by default.
No idea what you did to think that.
Now, I would never use it without SSL. But that is different.
Interesting.
After I installed it and got all the Composer packages updated and migrated the DB and all those things, ready to open it, it refused to open, it immediately redirects to https. I looked in htaccess files for any kind of redirect but didn't see it.
What else could be making it switch to https on its own?