Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: installing pastebin on windows |
|
Author |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 12 Feb '08 2:47 Post subject: installing pastebin on windows |
|
|
Anyone successfully install pastebin on a Windows server?
I'm using "file" insted of mysql
I get this
H:/home/something/pastebin/public_html/../posts/ needs to be a writable dir to use file storage engine
ok fine. Instructions this is all that is stated;
If using the "file" storage engine, make sure the public_html/../posts
directory is writable by the webserver.
ok great, what is /../?
everything under public_html is writable, afterall, this is Windoze. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 12 Feb '08 11:50 Post subject: |
|
|
../ means one folder down. In your case
H:/home/something/pastebin/posts
So the flat file is outside the document root and NOT reachable over the internet.
----
edit:
On Windows there's often issues with accessing files outside the doc root
You can edit the lib/pastebin/db.file.class.php on line 62 and "correct" that path. Put it into the doc root and deny the access from outside with config or .htaccess |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 12 Feb '08 17:57 Post subject: |
|
|
Kind of tried some of that, will give it another go later
Thanks Mario
Gregg |
|
Back to top |
|
|
|
|
|
|