Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : htaccess for Ghost



Threaded Mode | Print  

 htaccess for Ghost (2 Replies, Read 2561 times)
bf7363
Group: Member
Post Group: Newbie
Posts: 2
Status:
What, if anything, does softaculous populate the .htaccess file with when you install Ghost? Can anyone please provide me with an example? Thanks.
IP: --   

htaccess for Ghost
bf7363
Group: Member
Post Group: Newbie
Posts: 2
Status:
Anyone? Please? This is a matter of urgency.
IP: --   

htaccess for Ghost
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5652
Status:
Hi,

Sorry for the delay in response.

Here is the content of the .htaccess file that Softaculous creates for the Ghost installation.

Code

Options +FollowSymLinks -Indexes

IndexIgnore *

DirectoryIndex
<IfModule mod_rewrite.c>

RewriteEngine on

# Simple URL redirect:
RewriteRule ^(.*)$ http://[[domhost]]:[[port]][[relativeurl]]/$1 [P]

</IfModule>


In the above content the variables needs to be replaced with the actual values :
[[domhost]] -> Your domain. Eg: example.com
[[port]] -> Port no on which Nodejs service is running
[[relativeurl]] -> Directory in which you have installed Ghost. Eg: ghost if you have installed Ghost in the sub-directory named "ghost". If you have not installed in a sub-directory simply remove this variable from the file



-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 25, 2024, 4:24 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.034