Jump to content

jaimetal20

Members
  • Content Count

    5
  • Joined

  • Last visited

Everything posted by jaimetal20

  1. Yeah the root folder needed 755 permission! That's why it was being blocked. Thank you so much, it's working now!
  2. Well I after making some edits to apache2.conf I make it able to read the port but I got now: Forbidden You don't have permission to access /index.html on this server. Server unable to read htaccess file, denying access to be safe While "AllowOverride None" is already set and file access is already 755.
  3. Yeah I have a VPS. Thanks for that link, I've managed to make it listen to 22080 port. The problem I have now is that when I try to access through that port I get this error when I try to access "x.x.x.x:22080/index.html" (i use that html for testing) Forbidden You don't have permission to access /index.html on this server. Apache/2.4.25 (Debian) Server at x.x.x.x Port 22080 I've set as DocumentRoot the folder on "/root/mtasa/mtasa-server/mods/deathmatch/resources/[maps]" And this is what I set in apache2.conf: <Directory /root/mtasa/mtasa-server/mods/deathmatch/reso
  4. Hello, I'm trying to access maps's files (songs specifically) in order to later use them with playSound function (i.e playSound("http://ip:22080/mapname/song.mp3") ). I do not want to fetch all the maps files, I just want a way to stream map's songs instead of download them on clients, reducing map download size. I spent a lot of hours looking for a lot of ways to open 22080 port with DomainRoot folder to "/root/mtasa/mtasa-server/mods/deathmatch/resources/[maps]" but whatever I do the url "ip:22080" is always inaccessible getting "ERR_CONNECTION_REFUSED" when opening it on browser. This
  5. Hola buenas, necesito saber si hay alguna forma (o mas bien, que me brinden un ejemplo) de acceder a los archivos que esten dentro de la carpeta root del VPS, mi idea inicial es, en lugar de descargar archivos (como canciones mp3 y archivos .map), leerlos directamente a través de scripting para evitar que la descarga sea muy pesada. Dentro del servidor de mta tengo una carpeta con todos los mapas "[maps]" divididos entre sus gamemodes. En el caso de la musica simplemente acceder a ella utilizando este codigo (solo es un ejemplo): local fileloader = {} fileloader.ip = "127.0.0.1" --ejemp
×
×
  • Create New...