Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8395727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:22:26+00:00 2026-06-09T20:22:26+00:00

I have a standalone files uploader which is installed in my dedi’ server. the

  • 0

I have a standalone files uploader which is installed in my dedi’ server.
the uploader files are in my main control panel folder –

/usr/share/nameofcontrolpanel/public/uploader.

i put it there because it seems whenever i try to place it in /var/www. it wont load and just go to the control panel, so i placed it where apache currently reads the web root, which is in the control panel public folder.

i am getting error 302 whenever i try to upload files with the uploader.
i am just guessing this is something to do with apache? (i already have php 5.3 which is a requirement)

This is the .htaccess of the uploader.

# Enable rewrite engine and route requests to framework
RewriteEngine On

## The only you have to edit is this one.
## If the Files Inbox is located at inbox.yourwebsite.com, you will set
## RewriteBase /
## If it is located at www.yourwebsite.com/filesInbox, it will be
## RewriteBase /filesInbox/



## THIS IS THE ONLY LINE YOU HAVE TO CHANGE
RewriteBase /



## !!!
## DO NOT REMOVE THE FOLLOWING LINES !!
## !!!

RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L,QSA]

# Disable ETags
<IfModule mod_headers.c>
    Header Unset ETag
    FileETag none
</IfModule>

# Default expires header if none specified (stay in browser cache for 7 days)
<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault A604800
</IfModule>

# Use PHP 5.3
AddType application/x-httpd-php53 .php 

The url for the uploader is uploader.mysite.com

What do i need to look for to get rid of the error 302 and to upload successfully?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T20:22:27+00:00Added an answer on June 9, 2026 at 8:22 pm

    302 is an HTTP code which means redirection is occurring. http://en.wikipedia.org/wiki/HTTP_302.

    It’s been a while since I played with .htaccess files but it looks like it’s redirecting to the site’s root, and it sounds like your uploader script isn’t in the site root. This could be the source of your error.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a standalone application in which I have to prompt the user with
Hai I have developed a standalone application in which when an user logs in,
I have a rails app running on passenger standalone, which is working perfectly. I
I have a module which runs standalone in a JVM (no containers) and communicates
I need to write a standalone Java application which will have a embedded HTTP
I have a separate project with .resx files compiled into a standalone DLL assembly,
I have a series of databases, each of which is basically standalone. It initially
I have a Java program which uses a lot of text files. The program
Is there a compiler or standalone preprocessor which takes C++ files and runs a
We have a project which uses the standalone Hibernate Tools Ant task to build

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.