Hello guys
have a nice day..
I have a problem need to be solved, I have upload script which save files in "/uploads" folder everything was going good until my boss decided to move upload file to storage server and need to store all files in "/etc/mnt/storage/uploads"
so what should i do, and what changes i Should made to my script or my server configration to achive this.
OsaMasw
13
Loving Helper
Recommended Answers
Jump to PostWell it might be helpful to see your directory structure and upload script..? Common sense.
Jump to PostAlso explain the reason, because you could simply use the Alias directive to point the external directory to clients:
Alias /uploads /etc/mnt/storage/uploads
that way you don't have to alter …
Jump to Postdoes it shows the full path for file
No, the aliased path will not be directly accessible or visible so, only
/uploads/file.ext
will be visible to clients. There are some constraints, so read the documentation carefully.
All 12 Replies
mattster
195
Practically a Master Poster
Featured Poster
cereal
1,524
Nearly a Senior Poster
Featured Poster
OsaMasw
commented:
I like this solution
+2
OsaMasw
13
Loving Helper
cereal
1,524
Nearly a Senior Poster
Featured Poster
OsaMasw
commented:
thanks
+0
OsaMasw
13
Loving Helper
cereal
1,524
Nearly a Senior Poster
Featured Poster
OsaMasw
13
Loving Helper
cereal
1,524
Nearly a Senior Poster
Featured Poster
OsaMasw
13
Loving Helper
cereal
1,524
Nearly a Senior Poster
Featured Poster
OsaMasw
13
Loving Helper
cereal
1,524
Nearly a Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.