Jump to content

Running PW on Plesk


Peter Knight
 Share

Recommended Posts

Hi guys

I'm running PW on a VPS on Plesk for the first time and having some problems. The DNS hasn't yet kicked in so I have a funky IP address, port number and webspace name in the URL which aren't helping.

I've obscured the real address here but you get the picture

https://111.111.111.111:8443/sitepreview/http/mydomain.com/processwire/

I can load up the login page but the css isn't mapping correctly and looks like

post-1166-0-01706300-1422651197_thumb.pn

Is it the htaccess I need to edit by changing 

  #   RewriteBase /

to

RewriteBase /sitepreview/http/mydomain.com/

or something else? Currently above doesn't work.

If I look at the source, the css is mapped as follows:

<link type='text/css' href='/wire/modules/AdminTheme/AdminThemeDefault/styles/main-classic.css?v=12' rel='stylesheet' />
	<link type='text/css' href='/wire/modules/Process/ProcessLogin/ProcessLogin.css?v=101' rel='stylesheet' />
	<link type='text/css' href='/wire/templates-admin/styles/font-awesome/css/font-awesome.min.css?v=12' rel='stylesheet' />
	
	<script type='text/javascript' src='/wire/modules/Jquery/JqueryCore/JqueryCore.js?v=183'></script>
	<script type='text/javascript' src='/wire/modules/Jquery/JqueryUI/JqueryUI.js?v=193'></script>
	<script type='text/javascript' src='/wire/templates-admin/scripts/inputfields.js?v=12'></script>
	<script type='text/javascript' src='/wire/modules/AdminTheme/AdminThemeDefault/scripts/main.js?v=12'></script>	
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...