XFileSharing Free - New User with new question

Message
Author
masterf
Posts: 3
Joined: Sep 18, 2008 12:33 am

New User with new question

#1 Postby masterf » Sep 18, 2008 12:37 am

Good day all,

can any one explain how can i install xfilesharing in subfolder in my site because i try to make it so many times but it didn't worked fine, and i hope from the administrators to make explanations supported by images to solve a lot of repated questions in this forum


thanks

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Sep 18, 2008 8:22 am

2 important steps required:
1) Config URLs/Pats:

Code: Select all

 # Your site URL, witout trailing /
 site_url => 'http://site.com/subfolder',

 # Your site cgi-bin URL, witout trailing /
 site_cgi => 'http://site.com/cgi-bin/subfolder',

 # Path to your site htdocs folder
 site_path => '/var/www/htdocs/subfolder',
2) .htaccess in htdocs:
Replace all

Code: Select all

/cgi-bin/
with

Code: Select all

/cgi-bin/subfolder/
I think that's it.

masterf
Posts: 3
Joined: Sep 18, 2008 12:33 am

#3 Postby masterf » Sep 18, 2008 3:25 pm

PilgrimX182,
Thanks for your reply, i will try it if its works i will let you know

best regards

masterf
Posts: 3
Joined: Sep 18, 2008 12:33 am

#4 Postby masterf » Sep 19, 2008 2:08 am

PilgrimX182

i did as what you said, and it's works fine but i have two problems
1- in admin area i can not get the admin page ( settings - etc) even i enter the correct passowrd

2- after up load files it does not give me the links for the files it only show me "Transfer complete!". Note i make max upload files 10 files.

and one more thing. When i up load images can i use them direct from my server to be shown in forum with code [img] www.example.com[\img]

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#5 Postby PilgrimX182 » Sep 22, 2008 9:17 am

1) Probably you're using www. domain to login and have domain without www in settings of vice versa. What URL you're using?

2) Try to set "confirm_email" in config empty.
Also comment this piece of code in upload.cgi:

Code: Select all

document.location='javascript:false';
3) Possible, only need to put uploads folder to htdocs (public_html) accessible from the web.