• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Uniserver. Question more than support

Jfrye

Mapper, trying to learn scripting
Joined
Jan 8, 2009
Messages
366
Solutions
5
Reaction score
86
Location
Mexico Missouri
Ive been putting some work in on my website, and my www folder is getting pretty full. Can I make a sub folder inside the www folder to put things in? If so, where would I change the file director so it pulls from www/subfolder/pages. I am probably overlooking it, but i dont know if its possible.
 
Solution
In UniServerZ control panel, stop the apache server

Then create a new host:
xivqiI5.jpg


Here I link up the domain znote.dev towards the znote folder.
Lua8nHG.jpg


Then start apache server again.

Now when you enter znote.dev, instead of loading web files from UniServerZ\www\, it will instead load files from UniServerZ\vhosts\znote\

I could then create wiki.znote.dev and target it against wiki and place the web files for an open wiki there, keeping it separate from the regular Znote AAC files to make it organized and not conflicting with each other.

if you place a folder in UniServerZ\www, then you should be able to access it with ip/foldername/
I guess I mean cluttered, not full. I was just wanting to know if I can create a sub folder inside the www folder to clean things up for myself.
 
Of course it's possible. And regarding how to make it "pull" from there, what exactly are we talking about? An AAC? What files are you intending to move? You only need to find wherever those files are included from and change the path. Most likely it will reveal itself after you move the files (through error messages: "files missing blabla").
 
Of course it's possible. And regarding how to make it "pull" from there, what exactly are we talking about? An AAC? What files are you intending to move? You only need to find wherever those files are included from and change the path. Most likely it will reveal itself after you move the files (through error messages: "files missing blabla").

I made some spell pages. I was just wanting to put them in a folder to organize the www folder. I tried to just move the file, and it just says
Code:
Not Found[/B]
[B]The requested URL /testspell.php was not found on this server.

So I tried looking through some of the uniserver files, and I cannot see where it gets the page info at within www. I tried adding something like this
Code:
require_once $filepath.'spells/testpell.php';
to chose a direct file path, but that didnt work either. I still get the page I posted above.


Any suggestions will be appreciated.
 
I haven't used Znote AAC so I don't know how its routing works. However, I assume it has list of available pages in some file. You might want to find it and trace that variable to see how files are included.
 
In UniServerZ control panel, stop the apache server

Then create a new host:
xivqiI5.jpg


Here I link up the domain znote.dev towards the znote folder.
Lua8nHG.jpg


Then start apache server again.

Now when you enter znote.dev, instead of loading web files from UniServerZ\www\, it will instead load files from UniServerZ\vhosts\znote\

I could then create wiki.znote.dev and target it against wiki and place the web files for an open wiki there, keeping it separate from the regular Znote AAC files to make it organized and not conflicting with each other.

if you place a folder in UniServerZ\www, then you should be able to access it with ip/foldername/
 
Last edited:
Solution
In UniServerZ control panel, stop the apache server

Then create a new host:
xivqiI5.jpg


Here I link up the domain znote.dev towards the znote folder.
Lua8nHG.jpg


Then start apache server again.

Now when you enter znote.dev, instead of loading web files from UniServerZ\www\, it will instead load files from UniServerZ\vhosts\znote\

I could then create wiki.znote.dev and target it against wiki and place the web files for an open wiki there, keeping it separate from the regular Znote AAC files to make it organized and not conflicting with each other.

if you place a folder in UniServerZ\www, then you should be able to access it with ip/foldername/

Awesome. I will do this when I get home. thank you. One question though. Do I move everything from www folder, or just the files I want moved?
 
Bump. I tried this, but im not sure I did it right. Im trying to just create a subfolder inside for spells. The above method has me move everything to work right? Did I do it right?
 

Similar threads

Back
Top