Feche1320 Posted March 17, 2012 Posted March 17, 2012 So, I have a VPS with Apache, and I want to use it to host the resources, but I got no idea on how to do it. Also, on I have to put the VPS ip or just /root/etc.. ? Thanks
DNL291 Posted March 17, 2012 Posted March 17, 2012 <httpdownloadurl>http://www.myserver.tld/directory/here</httpdownloadurl> https://wiki.multitheftauto.com/wiki/Server_Manual
Feche1320 Posted March 17, 2012 Author Posted March 17, 2012 Okay I've got a problem, I copied the resource folder to the http server, then, I deleted the old resource folder, and I added to the line the adress, but when I open the server the resources aren't loaded, why? Thanks
TAPL Posted March 17, 2012 Posted March 17, 2012 you shouldn't delete resources folder just copy http-client-files folder
Feche1320 Posted March 17, 2012 Author Posted March 17, 2012 Copy it to where? EDIT: Oh, to the webserver.. but, everytime that I add a new resource, I have to copy it manually to the webserver?
MTA Team jhxp Posted March 17, 2012 MTA Team Posted March 17, 2012 Yes, but you don't copy it to your webserver from /resources, but from that /resource-cache/http-client-files directory.
TAPL Posted March 17, 2012 Posted March 17, 2012 Copy it to where?EDIT: Oh, to the webserver.. but, everytime that I add a new resource, I have to copy it manually to the webserver? If the web server is on the same machine, you can simply link the appropriate web server directory to http-client-files. If the web server is on a separate machine, ensure it has access to http-client-files via a network path, or maintain a remote copy using synchronization software. or you have to copy it every time you add a new resource
Feche1320 Posted March 17, 2012 Author Posted March 17, 2012 Oh well it's too complicated, I'll use the built-in server, thanks anyways
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now