Jump to content

Recommended Posts

Posted

Hello everyone.


Please help me, I’m getting mad.


I’m trying to install ProcessWire on my server and nothing works.


I have an Italian provider called ARUBA.



During the installation I had some problems with the .htaccess file and I made some changes.


here is my file.


http://www.danielemartini.net/htaccess



Now that the installations is done, I can see the Homepage


http://www.danielemartini.net/sito/


but I can’t access the admin page.



i didn’t change the urls so should be


http://www.danielemartini.net/sito/processwire


but it doesn’t find the page.



Where’s the problem?


Why the installation worked and now I can’t access ?


Posted

That may be because you switched these two rules around when you were encountering problems:

  # ----------------------------------------------------------------------------------------------- 
  # Pass control to ProcessWire if all the above directives allow us to this point.
  # For regular VirtualHosts (most installs)
  # ----------------------------------------------------------------------------------------------- 
  # RewriteRule ^(.*)$ index.php?it=$1 [L,QSA]

  # ----------------------------------------------------------------------------------------------- 
  # 500 NOTE: If using VirtualDocumentRoot: comment out the one above and use this one instead.
  # ----------------------------------------------------------------------------------------------- 
   RewriteRule ^(.*)$ /index.php?it=$1 [L,QSA]

As such, it's looking for index.php in the root of domain, not the root of the installation.

If you swap them around again (comment the second one, uncomment the first one), it should work.

Please let me know if it doesn't...

  • Like 2
Posted

Great! :)

Yeah, I just had a look at their website. Can't say much about them, but they're certainly not a modern hosting company. And I see their usage over time has gone down (the past few months, in fact).

If you ever feel unsure about your hosting provider, then I would recommend that you do a little research and find a new, better one. A quick search yielded 1and1 Italy, and Register.it.

  • Like 1

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
×
×
  • Create New...