Jump to content

Object not found! Admin URL is not found :(


Recommended Posts

I made the switch from Win7 to Arch Linux.

It's been a great deal of fun. I love to tinker. I learn something new every day!

:)

Tonight I installed apache, php and mariadb.

Git cloned the latest version of ProcessWire to a new folder NOT in root.

test.dev/processwire.dev/

During the installation, the only error I received was about GD 2.0. I know I have gd-2.1.0-2. The error persists, but I am still able to proceed.

I complete the installation and leave "/processire/" as the default URL to access the admin.

But the page comes up as "Object not found!"

Why is that?

Link to comment
Share on other sites

Check DocumentRoot setting in ..\apache\conf\httpd.conf to find to what folder it is pointing.

htdocs is in xampp/apache/htdocs or in another folder ?

I made my footsteps also in linux. Have dual boot here with win7 and linux mint petra cinnamon.

Link to comment
Share on other sites

Did you check the error.log file ? ..\apache\logs\error

Does your apache really start and is port 80 not in use by some service ?

Type http://localhost in your browser's address bar and see if anything shows up like

a welcome page. Stop apache and mysql service and go inside the controlpanel

and do a port check.

Link to comment
Share on other sites

did you check vhost _default setting in httpd.conf ?

First comes this:
<VirtualHost _default_:*>
DocumentRoot path to ../htdocs
</VirtualHost>

second comes this:
<VirtualHost *:80>
ServerName test
DocumentRoot path to ../htdocs/your folder
</VirtualHost>
 

Link to comment
Share on other sites

Check DocumentRoot setting in ..\apache\conf\httpd.conf to find to what folder it is pointing.

htdocs is in xampp/apache/htdocs or in another folder ?

I made my footsteps also in linux. Have dual boot here with win7 and linux mint petra cinnamon.

In httpd.conf

I changed my DocumentRoot.

From:
# DocumentRoot "/srv/http"
To:
DocumentRoot "/home/jaimito/www"
Also here:
<Directory "/home/jaimito/www">
Link to comment
Share on other sites

Did you check the error.log file ? ..\apache\logs\error

Does your apache really start and is port 80 not in use by some service ?

Type http://localhost in your browser's address bar and see if anything shows up like

a welcome page. Stop apache and mysql service and go inside the controlpanel

and do a port check.

I'm using virtual hosts. I have uncommented the appropriate lines to get that to work.

I have a few "test" directories/domains, and they work fine.

Here's what I have for my processwire.dev:

<VirtualHost *:80>
    ServerAdmin organizedfellow@gmail.com
    DocumentRoot "/home/jaimito/www/processwire.dev"
    ServerName processwire.dev
    ErrorLog "/home/jaimito/www/processwire.dev/log_error.log"
    CustomLog "/home/jaimito/www/processwire.dev/log_access.log" common
</VirtualHost>
 

Here's the output from the "log_access.log" file:

127.0.0.1 - - [02/May/2014:08:50:23 -0600] "GET /processwire/ HTTP/1.1" 404 1009
127.0.0.1 - - [02/May/2014:08:50:25 -0600] "GET /processwire/ HTTP/1.1" 404 1009
127.0.0.1 - - [02/May/2014:08:50:26 -0600] "GET /favicon.ico HTTP/1.1" 404 1009
127.0.0.1 - - [02/May/2014:08:50:36 -0600] "GET /about/ HTTP/1.1" 404 1140
127.0.0.1 - - [02/May/2014:08:50:40 -0600] "GET /templates/ HTTP/1.1" 404 1140
 
Not only is '/processwire/' not available, but the other pages as well. I'm only getting the homepage.
This is worse than I thought, lol.
 
I restarted both mysql and apache.
Error still there.
Link to comment
Share on other sites

[sOLVED]

:)

http://httpd.apache.org/docs/current/mod/core.html#allowoverride

File 'httpd.conf' in this section:

<Directory "/home/*****/www">
... 
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # AllowOverride FileInfo AuthConfig Limit
    #
    AllowOverride None
... 
</Directory>
 
 
Change:
AllowOverride None
To:
AllowOverride All
 
:D
  • Like 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...